toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'dd0c66f2',
'\$name': 'StarRefProgram',
'flags': flags,
'botId': botId,
'commissionPermille': commissionPermille,
'durationMonths': durationMonths,
'endDate': endDate?.toIso8601String(),
'dailyRevenuePerUser': dailyRevenuePerUser,
};
// Finished toJson.
return returnValue;
}