Map<String, dynamic> toMap() { return <String, dynamic>{ 'bucket': bucket, 'rootPath': ?rootPath, }; }