Release.fromJson constructor
Release.fromJson(
- Map json_
Implementation
Release.fromJson(core.Map json_)
: this(
fraction: json_.containsKey('fraction')
? (json_['fraction'] as core.num).toDouble()
: null,
fractionGroup: json_.containsKey('fractionGroup')
? json_['fractionGroup'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
pinnable: json_.containsKey('pinnable')
? json_['pinnable'] as core.bool
: null,
serving: json_.containsKey('serving')
? Interval.fromJson(
json_['serving'] as core.Map<core.String, core.dynamic>)
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);