onReceivedFromNative method

  1. @override
Future<void> onReceivedFromNative(
  1. MethodCall call
)
override

Implementation

@override
Future<void> onReceivedFromNative(MethodCall call) async {
  if (call.method == CancelCaptureConstants.onResult) {
    _onResult();
  }
}