Map<String, dynamic> toMap() { return <String, dynamic>{ 'containerPath': containerPath, 'readOnly': readOnly, 'sourceVolume': sourceVolume, }; }