DeployParameters.fromJson constructor

DeployParameters.fromJson(
  1. Map json_
)

Implementation

DeployParameters.fromJson(core.Map json_)
    : this(
        matchTargetLabels: json_.containsKey('matchTargetLabels')
            ? (json_['matchTargetLabels']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );