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,
      );