toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x70c4fe03",
"flags": flags,
"date": date.toIso8601String(),
"botId": botId,
"providerId": providerId,
"title": title,
"description": description,
"photo": photo,
"invoice": invoice,
"info": info,
"shipping": shipping,
"tipAmount": tipAmount,
"currency": currency,
"totalAmount": totalAmount,
"credentialsTitle": credentialsTitle,
"users": users,
};
// Finished toJson.
return returnValue;
}