parseMessageData function Null safety

Future<BaseMessage?> parseMessageData(
  1. Map<String, dynamic> data
)

Implementation

Future<BaseMessage?> parseMessageData(Map<String, dynamic> data) async {
  return await parseMessageFromData(data);
}