putCredentials static method
- Credentials creds
Puts the provided Credentials to the browser's storage.
Implementation
static void putCredentials(Credentials creds) {
web.window.localStorage['credentials_${creds.userId}'] = json.encode(
creds.toJson(),
);
}