Map<String, dynamic> toMap() { return <String, dynamic>{ 'driver': driver, 'readOnly': ?readOnly, 'volumeAttributes': ?volumeAttributes, }; }