getPlatformAuthenticators method
Implementation
Future<List<AuthenticatorMetadata?>?> getPlatformAuthenticators() async {
dynamic res = await _channel.invokeMethod('getPlatformAuthenticators');
if (res == null) {
return null;
}
dynamic list = json.decode(res as String);
return (list as List<dynamic>).map((dynamic e) {
return e != null ? AuthenticatorMetadata.fromMap(e) : null;
}).toList();
}