GS1Details class

Contains details about the meaning behind a GS1 code.

Constructors

GS1Details({required String gs1Code, required String rawValue, required GS1Type? gs1type, required List<GS1Description> descriptions})

Properties

descriptions List<GS1Description>
The GS1 code split into its different segments.
final
gs1Code String
The full GS1 code.
final
gs1Normalized String
The normalized GS1 code.
no setter
gs1type GS1Type?
The GS1Type of the GS1Details instance. Is null if the type couldn't be determined.
final
hashCode int
The hash code for this object.
no setterinherited
rawValue String
The raw value which was extracted. Can contain special characters like
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 GS1Details.toString.
toString() String
Used in combination with generic types to ensure it can be properly displayed in e.g. DetectionOutlineConfig labels. Use GS1Details.toObjectString for printing the object string.
override

Operators

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