ModelVersion.fromJson constructor

ModelVersion.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ModelVersion.fromJson(Map<String, dynamic> json) {
  return ModelVersion(
    modelId: json['modelId'] as String,
    modelType: (json['modelType'] as String).toModelTypeEnum(),
    modelVersionNumber: json['modelVersionNumber'] as String,
    arn: json['arn'] as String?,
  );
}