toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "network_identifier": network_identifier.toJson(),
      "operations": operations.map((e) => e.toJson()),
      "metadata": metadata,
      "max_fee": max_fee?.map((e) => e.toJson()),
      "suggested_fee_multiplier": suggested_fee_multiplier
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);