FlutterUploader.private constructor

  1. @visibleForTesting
FlutterUploader.private(
  1. MethodChannel channel,
  2. EventChannel progressChannel,
  3. EventChannel resultChannel
)

Only required for testing.

Implementation

@visibleForTesting
FlutterUploader.private(
  MethodChannel channel,
  EventChannel progressChannel,
  EventChannel resultChannel,
)   : _platform = channel,
      _progressChannel = progressChannel,
      _resultChannel = resultChannel;