ShippingOption class

This object represents one shipping option.

Constructors

ShippingOption({required String id, required String title, required List<LabeledPrice> prices})
Constructs a ShippingOption object
const
ShippingOption.fromJson(Map<String, dynamic> json)
Converts a ShippingOption object to JSON object
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Shipping option identifier
final
prices List<LabeledPrice>
List of price portions
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Option title
final

Methods

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

Operators

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