response method Null safety

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

Implementation

@override
Future<OpenChannel> response(res) async {
  final ts = DateTime.now().millisecondsSinceEpoch;
  return OpenChannel.fromJsonAndCached(res, ts: ts);
}