ShippingMethod constructor

ShippingMethod({
  1. required String name,
  2. required double price,
  3. String? detail,
  4. String? identifier,
})

Defines a shipping method for delivering physical goods.

Implementation

ShippingMethod({
  required this.name,
  required this.price,
  this.detail,
  this.identifier,
});