toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => {
      "unsigned_transaction": unsigned_transaction,
      "payloads": payloads.map((e) => e.toJson()).toList()
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);