SortingEnforcement enum Null safety

Indicates how the sorting requirement for GpsPointsCollection should behave.

SortingEnforcement.notRequired means that the collection will accept elements in non-sorted order. SortingEnforcement.skipWrongItems means that the collection will not add any elements that violate the sorting order, but not throw an exception. SortingEnforcement.throwIfWrongItems means that the list will throw an exception if trying to add elements that violate the sorting order.

Inheritance

Constructors

SortingEnforcement()
const

Values

notRequired → const SortingEnforcement
SortingEnforcement()
skipWrongItems → const SortingEnforcement
SortingEnforcement()
throwIfWrongItems → const SortingEnforcement
SortingEnforcement()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<SortingEnforcement>
A constant List of the values in this enum, in order of their declaration.
[notRequired, skipWrongItems, throwIfWrongItems]