toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    ...super.toMap(),
    'params': {
      'invoices': invoices.map((e) => e.toMap()).toList(),
    }
  };
}