UpgradeDependency.fromJson constructor

UpgradeDependency.fromJson(
  1. Map json_
)

Implementation

UpgradeDependency.fromJson(core.Map json_)
    : this(
        currentVersion: json_.containsKey('currentVersion')
            ? json_['currentVersion'] as core.String
            : null,
        membership: json_.containsKey('membership')
            ? json_['membership'] as core.String
            : null,
        resourceName: json_.containsKey('resourceName')
            ? json_['resourceName'] as core.String
            : null,
        targetVersion: json_.containsKey('targetVersion')
            ? json_['targetVersion'] as core.String
            : null,
      );