toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (mountPath != null) 'mountPath': mountPath!,
if (name != null) 'name': name!,
if (readOnly != null) 'readOnly': readOnly!,
if (subPath != null) 'subPath': subPath!,
};