ConnectionSchemaMetadata.fromJson constructor
ConnectionSchemaMetadata.fromJson(
- Map json_
Implementation
ConnectionSchemaMetadata.fromJson(core.Map json_)
: this(
actions: json_.containsKey('actions')
? (json_['actions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
entities: json_.containsKey('entities')
? (json_['entities'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
errorMessage: json_.containsKey('errorMessage')
? json_['errorMessage'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
refreshTime: json_.containsKey('refreshTime')
? json_['refreshTime'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);