SchemaFieldSpec.fromJson constructor
SchemaFieldSpec.fromJson(
- Map json_
Implementation
SchemaFieldSpec.fromJson(core.Map json_)
: this(
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
fieldId: json_.containsKey('fieldId')
? json_['fieldId'] as core.String
: null,
fieldName: json_.containsKey('fieldName')
? json_['fieldName'] as core.String
: null,
fieldType: json_.containsKey('fieldType')
? json_['fieldType'] as core.String
: null,
indexed: json_.containsKey('indexed')
? json_['indexed'] as core.bool
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
multiValued: json_.containsKey('multiValued')
? json_['multiValued'] as core.bool
: null,
numericIndexingSpec: json_.containsKey('numericIndexingSpec')
? SchemaFieldSpecNumericIndexingSpec.fromJson(
json_['numericIndexingSpec']
as core.Map<core.String, core.dynamic>)
: null,
readAccessType: json_.containsKey('readAccessType')
? json_['readAccessType'] as core.String
: null,
);