onTokenStream property

  1. @override
Stream<Map<Object?, dynamic>> get onTokenStream
override

Implementation

@override
Stream<Map<Object?, dynamic>> get onTokenStream {
  return eventChannel
      .receiveBroadcastStream()
      .map((event) => Map<Object?, dynamic>.from(event));
}