response method Null safety

  1. @override
Future<FileMessage> response(
  1. Map<String, dynamic> res
)
override

Implementation

@override
Future<FileMessage> response(res) async {
  return BaseMessage.msgFromJson<FileMessage>(res, channelType: channelType)!;
}