fetchDevices method

Future<List<AuthDevice>> fetchDevices()

Retrieves all tracked devices for the current user.

Implementation

Future<List<AuthDevice>> fetchDevices() {
  return plugins.length == 1
      ? plugins[0].fetchDevices()
      : throw _pluginNotAddedException('Auth');
}