OrderInfo class

This object represents information about an order.

Constructors

OrderInfo({String? name, String? phoneNumber, String? email, ShippingAddress? shippingAddress})
Basic constructor

Properties

email ↔ String?
Optional. User email
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String?
Optional. User name
getter/setter pair
phoneNumber ↔ String?
Optional. User's phone number
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shippingAddress ↔ ShippingAddress?
Optional. User shipping address
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → OrderInfo
Creates a object from a json