hasAuthRecord static method

Future<bool> hasAuthRecord()

hasAuthRecord()

  • Method to check Auth Record exists for user
  • Sets User Name if Provided Optional : SName

Implementation

static Future<bool> hasAuthRecord() async {
  // User Records
  final list = await userRecords();
  return list.any((e) => e.isAuth);
}