OrderInfo.fromJson constructor
Parse from a json
Implementation
factory OrderInfo.fromJson(Map<String, dynamic> json) => OrderInfo(
name: json['name'],
phoneNumber: json['phone_number'],
emailAddress: json['email_address'],
shippingAddress: json['shipping_address'] == null ? null : Address.fromJson(json['shipping_address']),
extra: json['@extra'],
clientId: json['@client_id'],
);