AppVersion.fromJson constructor
AppVersion.fromJson(
- Map json_
Implementation
AppVersion.fromJson(core.Map json_)
: this(
isProduction: json_.containsKey('isProduction')
? json_['isProduction'] as core.bool
: null,
targetSdkVersion: json_.containsKey('targetSdkVersion')
? json_['targetSdkVersion'] as core.int
: null,
track:
json_.containsKey('track') ? json_['track'] as core.String : null,
trackId: json_.containsKey('trackId')
? (json_['trackId'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
versionCode: json_.containsKey('versionCode')
? json_['versionCode'] as core.int
: null,
versionString: json_.containsKey('versionString')
? json_['versionString'] as core.String
: null,
);