toJson method

Map<String, dynamic> toJson()

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!,
    };