ResourceConfig.fromJson constructor
Implementation
factory ResourceConfig.fromJson(Map<String, dynamic> json) {
return ResourceConfig(
instanceCount: json['InstanceCount'] as int,
instanceType: (json['InstanceType'] as String).toTrainingInstanceType(),
volumeSizeInGB: json['VolumeSizeInGB'] as int,
volumeKmsKeyId: json['VolumeKmsKeyId'] as String?,
);
}