ApplianceVersion.fromJson constructor

ApplianceVersion.fromJson(
  1. Map json_
)

Implementation

ApplianceVersion.fromJson(core.Map json_)
    : this(
        critical: json_.containsKey('critical')
            ? json_['critical'] as core.bool
            : null,
        releaseNotesUri: json_.containsKey('releaseNotesUri')
            ? json_['releaseNotesUri'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );