forgotPassword method

Future<bool> forgotPassword(
  1. String email
)

Implementation

Future<bool> forgotPassword(String email) async {
  try {
    return await _api.forgotPassword(email);
  } catch (e) {
    throw tr('invalid_authentication');
  }
}