VersionSentryInfo.fromJson constructor
VersionSentryInfo.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VersionSentryInfo.fromJson(Map<String, dynamic> json) {
return VersionSentryInfo(
platform: json['platform'] as String,
currentVersion: json['currentVersion'] as String,
storeVersion: json['storeVersion'] as String,
needsUpdate: json['needsUpdate'] as bool,
isMajorUpdate: json['isMajorUpdate'] as bool,
isMinorUpdate: json['isMinorUpdate'] as bool,
isPatchUpdate: json['isPatchUpdate'] as bool,
releaseNotes: json['releaseNotes'] as String?,
packageName: json['packageName'] as String,
appUpdateLink: json['appStoreLink'] as String,
);
}