ResourceSpec.fromJson constructor
Implementation
factory ResourceSpec.fromJson(Map<String, dynamic> json) {
return ResourceSpec(
instanceType: (json['InstanceType'] as String?)?.toAppInstanceType(),
sageMakerImageArn: json['SageMakerImageArn'] as String?,
sageMakerImageVersionArn: json['SageMakerImageVersionArn'] as String?,
);
}