ProtocolInstance.fromJson constructor
Implementation
ProtocolInstance.fromJson(Map<String, Object?> json)
: desc = json['desc'] as String,
fields = json['fields'] as Map<String, Object?>,
icon = ((v) => v != null ? v as String : null)(json['icon']),
networkId = json['network_id'] as String;