Type class final

The commercial kind of a Product.

Constructors

Type(String value)
const
Type.fromJson(Object? json)
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

cause → const Type
custom → const Type
digital → const Type
physical → const Type
service → const Type
voucher → const Type