getRefreshToken method

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

Implementation

@override
Future getRefreshToken({required MethodCall call}) async{
  final refreshToken = _getModuleInstance().getRefreshToken();
  return {
    "success": !isNullOrEmpty(refreshToken),
    "message": !isNullOrEmpty(refreshToken) ? "Get refresh token successful" : "No refresh token found",
    "data": {
      "refreshToken": refreshToken
    }
  };
}