toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (configMap != null) 'configMap': configMap!,
if (csi != null) 'csi': csi!,
if (emptyDir != null) 'emptyDir': emptyDir!,
if (name != null) 'name': name!,
if (nfs != null) 'nfs': nfs!,
if (secret != null) 'secret': secret!,
};