toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "network_identifier": network_identifier.toJson(),
      "public_key": public_key.toJson(),
      "meta_data": metadata
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);