NetworkIdentifier.fromJson constructor

NetworkIdentifier.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory NetworkIdentifier.fromJson(Map<String, dynamic> map) {
  return NetworkIdentifier(
    map['blockchain'],
    map['network'],
    map['sub_network_identifier'] != null
        ? SubNetworkIdentifier.fromJson(map['sub_network_identifier'])
        : null,
  );
}