setHeadlessCallback method

Future<void> setHeadlessCallback(
  1. OtplessResultCallback callback
)

Implementation

Future<void> setHeadlessCallback(OtplessResultCallback callback) async {
  _callback = callback;
  await methodChannel.invokeMethod("setHeadlessCallback");
}