toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'type'] = this.type;
json[r'description'] = this.description;
json[r'amount'] = this.amount;
json[r'gems_credited'] = this.gemsCredited;
json[r'created_at'] = this.createdAt.toUtc().toIso8601String();
return json;
}