Example.fromJson constructor
Example.fromJson(
- Map json_
Implementation
Example.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
sourceText: json_.containsKey('sourceText')
? json_['sourceText'] as core.String
: null,
targetText: json_.containsKey('targetText')
? json_['targetText'] as core.String
: null,
usage:
json_.containsKey('usage') ? json_['usage'] as core.String : null,
);