toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'key': id,
    'type': type,
    'amount': amount,
    'currency': currency,
    'date': date,
    'provider': signedAmount,
    'status': status,
    'title': title,
    'color': statusColor,
  };
}