toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"id": id,
"invoice": invoice.toJson(),
"url": url,
"seller_bot_user_id": sellerBotUserId,
"payments_provider_user_id": paymentsProviderUserId,
"payments_provider": paymentsProvider?.toJson(),
"saved_order_info": savedOrderInfo?.toJson(),
"saved_credentials": savedCredentials?.toJson(),
"can_save_credentials": canSaveCredentials,
"need_password": needPassword,
};
}