ColumnDescription.fromJson constructor
ColumnDescription.fromJson(
- Map json_
Implementation
ColumnDescription.fromJson(core.Map json_)
: this(
dataType: json_.containsKey('dataType')
? json_['dataType'] as core.String
: null,
dateDetails: json_.containsKey('dateDetails')
? DateDetails.fromJson(
json_['dateDetails'] as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.List)
.map((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,
readonly: json_.containsKey('readonly')
? json_['readonly'] as core.bool
: null,
relationshipDetails: json_.containsKey('relationshipDetails')
? RelationshipDetails.fromJson(json_['relationshipDetails']
as core.Map<core.String, core.dynamic>)
: null,
);