MethodChannelMetronome constructor

MethodChannelMetronome()

Implementation

MethodChannelMetronome() {
  eventTickChannel.receiveBroadcastStream().listen(
    (event) {
      if (event is int) {
        tickController.add(event);
      }
    },
    onError: (error) {
      // print("Tick Stream Error: $error");
    },
  );
}