toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (apiVersion != null) 'apiVersion': apiVersion!,
if (blockOwnerDeletion != null)
'blockOwnerDeletion': blockOwnerDeletion!,
if (controller != null) 'controller': controller!,
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (uid != null) 'uid': uid!,
};