ResourceOptions.fromJson constructor

ResourceOptions.fromJson(
  1. Map json_
)

Implementation

ResourceOptions.fromJson(core.Map json_)
    : this(
        connectVersion: json_.containsKey('connectVersion')
            ? json_['connectVersion'] as core.String
            : null,
        k8sVersion: json_.containsKey('k8sVersion')
            ? json_['k8sVersion'] as core.String
            : null,
        v1beta1Crd: json_.containsKey('v1beta1Crd')
            ? json_['v1beta1Crd'] as core.bool
            : null,
      );