UpgradeInsight.fromJson constructor

UpgradeInsight.fromJson(
  1. Map _json
)

Implementation

UpgradeInsight.fromJson(core.Map _json)
    : this(
        packageName: _json.containsKey('packageName')
            ? _json['packageName'] as core.String
            : null,
        upgradeToVersion: _json.containsKey('upgradeToVersion')
            ? _json['upgradeToVersion'] as core.String
            : null,
      );