forgotPassword method
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,
};
}