isSpace property

bool isSpace

Checks if the m.room.create state has a type key with the value m.space.

Implementation

bool get isSpace =>
    getState(EventTypes.RoomCreate)?.content.tryGet<String>('type') ==
    RoomCreationTypes.mSpace;