ShippingMethod class

Defines a shipping method for delivering physical goods.

Constructors

ShippingMethod({required String name, required double price, String? detail, String? identifier})
Defines a shipping method for delivering physical goods.

Properties

detail String?
A user-readable description of the shipping method.
final
hashCode int
The hash code for this object.
no setterinherited
identifier String?
A unique identifier for the shipping method, used by the app.
final
name String
The name of the item the user buys.
final
price double
The price of the item the user buys.
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
toString() String
A string representation of this object.
inherited

Operators

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