UICDetails class
Contains details about the meaning behind an UIC number.
Constructors
-
UICDetails({required String uicNumber, required List<
UICDescription> descriptions, required UICType? uicType, UICCategory? uicCategory})
Properties
-
descriptions
→ List<
UICDescription> -
The UIC number split into its different segments. Is empty for
non-12-digit UIC number.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uicCategory → UICCategory?
-
The UICCategory of the UICDetails instance. Is
null
if the category could not be determined (e.g. for non-Swiss UIC number or 7-digit numbers).final - uicNumber → String
-
The full UIC number.
final
- uicNumberNormalized → String
-
The normalized UIC number.
no setter
- uicType → UICType?
-
The UICType of the UICDetails instance. Is
null
if the type couldn't be determined.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toObjectString(
) → String - Prints an object string. Use this instead of UICDetails.toString.
-
toString(
) → String -
Used in combination with generic types to ensure it can be properly
displayed in e.g. DetectionOutlineConfig labels. Use
UICDetails.toObjectString for printing the object string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited