OrderInfo class

This object represents information about an order.

Constructors

OrderInfo({String? name, String? phoneNumber, String? email, ShippingAddress? shippingAddress})
Creates a new OrderInfo object.
const
OrderInfo.fromJson(Map<String, dynamic> json)
Creates a OrderInfo object from a JSON object
factory

Properties

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

Methods

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

Operators

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