OwnerReference.fromJson constructor

OwnerReference.fromJson(
  1. Map json_
)

Implementation

OwnerReference.fromJson(core.Map json_)
    : this(
        apiVersion: json_.containsKey('apiVersion')
            ? json_['apiVersion'] as core.String
            : null,
        blockOwnerDeletion: json_.containsKey('blockOwnerDeletion')
            ? json_['blockOwnerDeletion'] as core.bool
            : null,
        controller: json_.containsKey('controller')
            ? json_['controller'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
      );