renewAccessToken method

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

Implementation

@override
Future renewAccessToken({required MethodCall call}) async{
  // final result = await _getModuleInstance().renewAccessToken();
  final result = await _getModuleInstance().renewToken();
  return {
    "success": result.success,
    "message": result.message,
    "data": {
      "accessToken" : result.data?.accessToken,
      "refreshToken": result.data?.refreshToken
    }
  };
}