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