toJson method

Map<String?, dynamic> toJson()

Implementation

Map<String?, dynamic> toJson() {
  final map = <String?, dynamic>{};
  map['date'] = date;
  map['type'] = type;
  map['status'] = status;
  map['amount'] = amount;
  return map;
}