Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'customer'] = customer; json[r'balance'] = balance; json[r'details'] = details; return json; }