$Response.fromJson constructor

$Response.fromJson(
  1. Map json_
)

Implementation

$Response.fromJson(core.Map json_)
    : this(
        upgradeImage: json_.containsKey('upgradeImage')
            ? json_['upgradeImage'] as core.String
            : null,
        upgradeInfo: json_.containsKey('upgradeInfo')
            ? json_['upgradeInfo'] as core.String
            : null,
        upgradeVersion: json_.containsKey('upgradeVersion')
            ? json_['upgradeVersion'] as core.String
            : null,
        upgradeable: json_.containsKey('upgradeable')
            ? json_['upgradeable'] as core.bool
            : null,
      );