verifyEmail method

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

Implementation

@override
Future verifyEmail({required MethodCall call}) async{
  final payload = jsonDecode(call.arguments);
  final verificationCode = payload["code"];

  final result = await _getModuleInstance().verifyEmail(code: verificationCode);
  return {
    "success": result.success,
    "message": result.message,
  };
}