deserialize method
void
deserialize(
- Map<String, dynamic>? json
)
override
Implementation
@override
void deserialize(Map<String, dynamic>? json) {
if (json == null) {
throw ApiException(400, 'Failed to deserialize TableLink data model.');
}
super.deserialize(json);
if (json.containsKey('Link')) {
link = ModelBase.createInstance<WordsApiLink>(
json['Link'] as Map<String, dynamic>);
} else {
link = null;
}
if (json.containsKey('NodeId')) {
nodeId = json['NodeId'] as String;
} else {
nodeId = null;
}
}