forgotPassword method

  1. @override
Future forgotPassword({
  1. required MethodCall call,
})
override

Implementation

@override
Future forgotPassword({required MethodCall call}) async{
  final payload = jsonDecode(call.arguments);
  final email = payload["email"];
  final result = await _getModuleInstance().forgotPassword(email: email);

  return {
    "success": result.success,
    "message": result.message,
  };
}