TokenExt extension

Utility functions for Token sets.

on

Methods

has(Webservice service) bool

Available on Set<Token>, provided by the TokenExt extension

Returns true if the token for the given service is present.
maybePick(Webservice service) String?

Available on Set<Token>, provided by the TokenExt extension

Returns the token value for the given service or null if not found.
pick(Webservice service) String

Available on Set<Token>, provided by the TokenExt extension

Returns the token value for the given service.
token(Webservice service) Token

Available on Set<Token>, provided by the TokenExt extension

Returns the Token for the given service.

Operators

operator [](Webservice service) String

Available on Set<Token>, provided by the TokenExt extension

Returns the token value for the given service.