ConfigManagementOperatorState.fromJson constructor

ConfigManagementOperatorState.fromJson(
  1. Map json_
)

Implementation

ConfigManagementOperatorState.fromJson(core.Map json_)
    : this(
        deploymentState: json_.containsKey('deploymentState')
            ? json_['deploymentState'] as core.String
            : null,
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => ConfigManagementInstallError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );