response method Null safety

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

Implementation

@override
Future<BaseMessage?> response(res) async {
  return BaseMessage.msgFromJson(res);
}