getAllAuthenticators method
Implementation
Future<List<OneginiListResponse>> getAllAuthenticators(
BuildContext? context) async {
Onegini.instance.setEventContext(context);
try {
var authenticators = await Onegini.instance.channel
.invokeMethod(Constants.getAllAuthenticators);
return responseFromJson(authenticators);
} on TypeError catch (error) {
throw PlatformException(
code: Constants.wrapperTypeError.code.toString(),
message: Constants.wrapperTypeError.message,
stacktrace: error.stackTrace?.toString());
}
}