GoogleCloudDocumentaiV1beta3ProcessorType.fromJson constructor
GoogleCloudDocumentaiV1beta3ProcessorType.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta3ProcessorType.fromJson(core.Map _json)
: this(
allowCreation: _json.containsKey('allowCreation')
? _json['allowCreation'] as core.bool
: null,
availableLocations: _json.containsKey('availableLocations')
? (_json['availableLocations'] as core.List)
.map<GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo>(
(value) =>
GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
category: _json.containsKey('category')
? _json['category'] as core.String
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
type: _json.containsKey('type') ? _json['type'] as core.String : null,
);