EntityType.fromJson constructor
EntityType.fromJson(
- Map json_
Implementation
EntityType.fromJson(core.Map json_)
: this(
fields: json_.containsKey('fields')
? (json_['fields'] as core.List)
.map((value) => Field.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
jsonSchema: json_.containsKey('jsonSchema')
? JsonSchema.fromJson(
json_['jsonSchema'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);