GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson constructor

GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
      );