on method
Implementation
@override
Stream<Map<String, dynamic>?> on(String method) {
return _controller.stream.transform(
StreamTransformer.fromHandlers(
handleData: (data, sink) {
if (data['method'] == method) {
sink.add(data['args']);
}
},
),
);
}