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