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