toString method
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.
Implementation
@override
String toString() => gs1Code;