CouponParams class

Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.

Constructors

CouponParams()
Constructor
CouponParams.fromJson(Map<String, dynamic> json)
Creates a CouponParams instance from a JSON representation.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supplementSpace double?
Space between main the BarCode and supplement BarCode in Unit value.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of CouponParams.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

listFromJson(List json) List<CouponParams>
Converts a list of JSON objects to a list of CouponParams instances.