GS1DetailsService class
Utilities for working with gs1 codes.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
determineType(
String gs1) → GS1Type -
extractGS1Values(
String gs1, GS1Type type) → List< GS1Description> - Splits a gs1 code into its GS1Details. If type is GS1Type.unknown returns [].
-
formatGS1(
String gs1, {GS1Type type = GS1Type.unknown}) → String -
Formats
gs1
to match the common format oftype
(defaults to GS1Type.unknown (does not get recognized)). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited