ModelReference.fromJson constructor

ModelReference.fromJson(
  1. Map json_
)

Implementation

ModelReference.fromJson(core.Map json_)
    : this(
        datasetId: json_.containsKey('datasetId')
            ? json_['datasetId'] as core.String
            : null,
        modelId: json_.containsKey('modelId')
            ? json_['modelId'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
      );