Credential class abstract

The object passed to the NativeCallbackFn. Represents a PasswordCredential that was returned by the Browser.

Credential objects can also be programmatically created to be stored in the browser through the storeCredential method.

See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/PasswordCredential

Data type: Credential https://developers.google.com/identity/gsi/web/reference/js-reference#type-Credential

Available extensions
Annotations

Constructors

Credential({required String id, required String password})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited