isSpace property
bool
get
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;