CreateEndpointOperationMetadata.fromJson constructor
CreateEndpointOperationMetadata.fromJson(
- Object? j
Implementation
factory CreateEndpointOperationMetadata.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return CreateEndpointOperationMetadata(
genericMetadata: switch (json['genericMetadata']) {
null => null,
Object $1 => GenericOperationMetadata.fromJson($1),
},
deploymentStage: switch (json['deploymentStage']) {
null => DeploymentStage.$default,
Object $1 => DeploymentStage.fromJson($1),
},
);
}