toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'id'] = id;
  _json[r'credit_amount'] = creditAmount;
  _json[r'current_date'] = currentDate;
  if (filePath != null) {
    _json[r'file_path'] = filePath;
  }
  _json[r'created_at'] = createdAt;
  if (rtr != null) {
    _json[r'rtr'] = rtr;
  }
  return _json;
}