TrackRelease.fromJson constructor
TrackRelease.fromJson(
- Map json_
Implementation
TrackRelease.fromJson(core.Map json_)
: this(
countryTargeting: json_.containsKey('countryTargeting')
? CountryTargeting.fromJson(json_['countryTargeting']
as core.Map<core.String, core.dynamic>)
: null,
inAppUpdatePriority: json_.containsKey('inAppUpdatePriority')
? json_['inAppUpdatePriority'] as core.int
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
releaseNotes: json_.containsKey('releaseNotes')
? (json_['releaseNotes'] as core.List)
.map((value) => LocalizedText.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
userFraction: json_.containsKey('userFraction')
? (json_['userFraction'] as core.num).toDouble()
: null,
versionCodes: json_.containsKey('versionCodes')
? (json_['versionCodes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);