ConfigManagementErrorResource.fromJson constructor

ConfigManagementErrorResource.fromJson(
  1. Map json_
)

Implementation

ConfigManagementErrorResource.fromJson(core.Map json_)
    : this(
        resourceGvk: json_.containsKey('resourceGvk')
            ? ConfigManagementGroupVersionKind.fromJson(
                json_['resourceGvk'] as core.Map<core.String, core.dynamic>)
            : null,
        resourceName: json_.containsKey('resourceName')
            ? json_['resourceName'] as core.String
            : null,
        resourceNamespace: json_.containsKey('resourceNamespace')
            ? json_['resourceNamespace'] as core.String
            : null,
        sourcePath: json_.containsKey('sourcePath')
            ? json_['sourcePath'] as core.String
            : null,
      );