toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'currency': currency,
      'total': total,
      'base': base,
      'fees': fees.map((v) => v.toJson()).toList(),
      'grandTotal': grandTotal,
    };