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