PscAutomatedEndpoints.fromJson constructor
PscAutomatedEndpoints.fromJson(
- Object? j
Implementation
factory PscAutomatedEndpoints.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return PscAutomatedEndpoints(
projectId: switch (json['projectId']) {
null => '',
Object $1 => decodeString($1),
},
network: switch (json['network']) {
null => '',
Object $1 => decodeString($1),
},
matchAddress: switch (json['matchAddress']) {
null => '',
Object $1 => decodeString($1),
},
);
}