toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '6dfa0622',
'\$name': 'PaymentsBotCancelStarsSubscription',
'flags': flags,
'restore': restore,
'userId': userId,
'chargeId': chargeId,
};
// Finished toJson.
return returnValue;
}