isLoggedIn static method

Future<bool?> isLoggedIn()

Check if user is logged in to SumUp

Implementation

static Future<bool?> isLoggedIn() async {
  try {
    return await sumup_lib.Sumup.isLoggedIn;
  } catch (e) {
    return false;
  }
}