FNPackageInfo.fromJson constructor

FNPackageInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FNPackageInfo.fromJson(Map<String, dynamic> json) {
  return FNPackageInfo(
    versionCode: json['versionCode'].toString(),
    packageName: json['packageName'],
    versionName: json['versionName'],
    appName: json['appName'],
  );
}