AndroidAppInfo.fromJson constructor

AndroidAppInfo.fromJson(
  1. Map _json
)

Implementation

AndroidAppInfo.fromJson(core.Map _json)
    : this(
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        packageName: _json.containsKey('packageName')
            ? _json['packageName'] as core.String
            : null,
        versionCode: _json.containsKey('versionCode')
            ? _json['versionCode'] as core.String
            : null,
        versionName: _json.containsKey('versionName')
            ? _json['versionName'] as core.String
            : null,
      );