hasAuthRecord static method
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);
}