OperationTechnique class

An element that describes operation techniques like drilling, plowing, harvesting.

Inheritance
Mixed-in types
Available extensions
Annotations

Constructors

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

Properties

copyWith → _$OperationTechniqueCWProxy

Available on OperationTechnique, provided by the $OperationTechniqueCopyWith extension

Returns a callable class that can be used as follows: instanceOfOperationTechnique.copyWith(...) or like so:instanceOfOperationTechnique.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 operation technique, 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 operation technique.
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
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 setterinherited
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 OperationTechniques.