maybePick method
- Webservice service
Returns the token value for the given service
or null
if not found.
Implementation
String? maybePick(Webservice service) {
return firstWhereOrNull(
(token) => token.webservice == service,
)?.token;
}
Returns the token value for the given service
or null
if not found.
String? maybePick(Webservice service) {
return firstWhereOrNull(
(token) => token.webservice == service,
)?.token;
}