OrderInfo class final

OrderInfo (orderInfo) - basic class

Order information.

Inheritance

Constructors

OrderInfo({required String name, required String phoneNumber, required String emailAddress, Address? shippingAddress, dynamic extra, int? clientId})
OrderInfo (orderInfo) - basic class
const
OrderInfo.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId int?
clientId client identifier
final
currentObjectId String
TDLib object type for current class instance
no setteroverride
emailAddress String
Email address of the user
final
extra → dynamic
extra callback sign
final
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the user
final
phoneNumber String
Phone number of the user
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddress Address?
Shipping address for this order; may be null
final

Methods

copyWith({String? name, String? phoneNumber, String? emailAddress, Address? shippingAddress, dynamic extra, int? clientId}) OrderInfo
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() String
Convert model to TDLib JSON format, encoded into String.
override

Operators

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

Constants

defaultObjectId → const String
TDLib object type