resetSequence method

Future<bool> resetSequence({
  1. required dynamic onResult(),
})

Rests the SDK to the initial stats

  • onResult (required) A callback method, called when the reset is invoked

Implementation

Future<bool> resetSequence({required Function() onResult}) {
  if (!_isInitializeCalled) {
    debugPrint("Digifed: call initialize first!");
    return Future.value(false);
  }
  return ResetSequenceMethod().invoke(onResult: onResult);
}