has method

bool has(
  1. Webservice service
)

Returns true if the token for the given service is present.

Implementation

bool has(Webservice service) {
  return any((token) => token.webservice == service);
}