ColumnDescription.fromJson constructor
ColumnDescription.fromJson(
- Map _json
Implementation
ColumnDescription.fromJson(core.Map _json)
: this(
dataType: _json.containsKey('dataType')
? _json['dataType'] as core.String
: null,
id: _json.containsKey('id') ? _json['id'] as core.String : null,
labels: _json.containsKey('labels')
? (_json['labels'] as core.List)
.map<LabeledItem>((value) => LabeledItem.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
lookupDetails: _json.containsKey('lookupDetails')
? LookupDetails.fromJson(
_json['lookupDetails'] as core.Map<core.String, core.dynamic>)
: null,
multipleValuesDisallowed:
_json.containsKey('multipleValuesDisallowed')
? _json['multipleValuesDisallowed'] as core.bool
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
relationshipDetails: _json.containsKey('relationshipDetails')
? RelationshipDetails.fromJson(_json['relationshipDetails']
as core.Map<core.String, core.dynamic>)
: null,
);