MethodChannelMediaCompressor constructor

MethodChannelMediaCompressor()

Implementation

MethodChannelMediaCompressor() {
  eventChannel.receiveBroadcastStream().listen((progress) {
    if (progress is double) {
      updateProgress(progress);
    }
  });
}