setFavourite method

Future<void> setFavourite(
  1. bool favourite
)

Sets the m.favourite tag for this room.

Implementation

Future<void> setFavourite(bool favourite) =>
    favourite ? addTag(TagType.favourite) : removeTag(TagType.favourite);