credentialsInStorage method Null safety

Future<bool> credentialsInStorage()

Checks if any credentials exist in storage

Implementation

Future<bool> credentialsInStorage() async {
  final bool userId = await DaoSecuredString.contains(key: _USER_ID);
  final bool password = await DaoSecuredString.contains(key: _PASSWORD);

  return userId && password;
}