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