toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"invoice": invoice.toJson(),
"title": title,
"description": description,
"photo_url": photoUrl,
"photo_size": photoSize,
"photo_width": photoWidth,
"photo_height": photoHeight,
"payload": payload,
"provider_token": providerToken,
"provider_data": providerData,
"start_parameter": startParameter,
};
}