GuidanceGroup class

An element for grouping GuidancePatterns and a boundary Polygon used for guidance.

The patterns are intended to be used simultaneously.

Inheritance
Mixed-in types
Available extensions
Annotations

Constructors

GuidanceGroup.new({required String id, List<GuidancePattern>? patterns, Polygon? boundaryPolygon, String? designator, List<XmlAttribute>? customAttributes})
Default factory for creating a GuidanceGroup with verified arguments.
factory
GuidanceGroup.fromXmlElement(XmlElement element)
Creates a GuidanceGroup from element.
factory

Properties

boundaryPolygon Polygon?
Boundary Polygon for this.
final
copyWith → _$GuidanceGroupCWProxy

Available on GuidanceGroup, provided by the $GuidanceGroupCopyWith extension

Returns a callable class that can be used as follows: instanceOfGuidanceGroup.copyWith(...) or like so:instanceOfGuidanceGroup.copyWith.fieldName(...).
no setter
customAttributes List<XmlAttribute>?
XML attributes that exist in the files but are not part of the standard.
finalinherited
description String
A short description of the element type.
finalinherited
designator String?
Name of the guidance group, description or comment.
final
elementType Iso11783ElementType
Which type of ISO 11783-10 element this is based on the XML tag.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this guidance group.
final
idRefPattern String
The ID reference pattern (regExp) for id if there is one.
no setteroverride
onlyVersion4AndAbove bool
Whether this element type is only supported in version 4 and above.
finalinherited
patterns List<GuidancePattern>
A list of GuidancePatterns for this.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
recursiveChildren Iterable<Iso11783Element>?
All the element children connected to this, and their children recursively.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfWithRecursiveChildren Iterable<Iso11783Element>
All the element children connected to this, and their children recursively.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

buildXmlChildren(XmlBuilder builder, {Map<String, String> namespaces = const {}}) → void
Builds the XML children of this on the builder.
buildXmlElement(XmlBuilder builder, {Map<String, String> namespaces = const {}}) → void
inherited
mapPropsToString(Type runtimeType, List<Object?> props) String
Returns a string for props.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXmlAttributes({Map<String, String?> namespaces = const {}}) List<XmlAttribute>
Returns a list of the XML attributes of this.
toXmlChildren({Map<String, String?> namespaces = const {}}) List<XmlNode>
inherited
toXmlElement({Map<String, String?> namespaces = const {}}) XmlElement
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

staticIdRefPattern → const String
Regular expression matching pattern for the id of GuidanceGroups.