GetProtocolsResponse$1.fromJson constructor

GetProtocolsResponse$1.fromJson(
  1. Map<String, Object?> json
)

Implementation

GetProtocolsResponse$1.fromJson(Map<String, Object?> json)
    : instances = ((v) => v != null
          ? (v as List)
              .map((v) => Instances$2.fromJson(v as Map<String, Object?>))
              .toList()
          : null)(json['instances']);