accesar method

Future accesar()

Implementation

Future accesar() async {
  String? err;
  try {
    await app.login(
      user: user.value,
      pass: pass.value,
      app: app.name,
      projectId: app.projectIid,
    );
  } catch (e) {
    err = e.toString().split(':').last;
  }
  if (err != null) {
    if (context == null) return;
    error(context!, err);
  }
}