parseMessage function Null safety

Future<BaseMessage?> parseMessage(
  1. Command? data
)

Implementation

Future<BaseMessage?> parseMessage(Command? data) async {
  return await parseMessageFromCommand(data);
}