ObjectDefinition.fromJson constructor
ObjectDefinition.fromJson(
- Map json_
Implementation
ObjectDefinition.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
options: json_.containsKey('options')
? ObjectOptions.fromJson(
json_['options'] as core.Map<core.String, core.dynamic>)
: null,
propertyDefinitions: json_.containsKey('propertyDefinitions')
? (json_['propertyDefinitions'] as core.List)
.map((value) => PropertyDefinition.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);