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