Distance.fromJson constructor
Distance.fromJson(
- Map json_
Implementation
Distance.fromJson(core.Map json_)
: this(
unit: json_.containsKey('unit') ? json_['unit'] as core.String : null,
value:
json_.containsKey('value') ? json_['value'] as core.String : null,
);