botProfileFromRoom method
Implementation
BotProfile botProfileFromRoom(Room? room) {
final profile = profileFromRoom(room);
if (profile is BotProfile) return profile;
return const BotProfile.empty();
}
BotProfile botProfileFromRoom(Room? room) {
final profile = profileFromRoom(room);
if (profile is BotProfile) return profile;
return const BotProfile.empty();
}