WireProperties.fromJson constructor
WireProperties.fromJson(
- Object? j
Implementation
factory WireProperties.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return WireProperties(
bandwidthAllocation: switch (json['bandwidthAllocation']) {
null => null,
Object $1 => decodeString($1),
},
bandwidthUnmetered: switch (json['bandwidthUnmetered']) {
null => null,
Object $1 => decodeInt64($1),
},
faultResponse: switch (json['faultResponse']) {
null => null,
Object $1 => decodeString($1),
},
);
}