isUserMessage static method Null safety
- String cmd
Implementation
static bool isUserMessage(String cmd) {
return CommandType.userMessage.value == cmd ||
CommandType.userMessageUpdate.value == cmd;
}
static bool isUserMessage(String cmd) {
return CommandType.userMessage.value == cmd ||
CommandType.userMessageUpdate.value == cmd;
}