MethodChannelLwa class
An implementation of LwaPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- LwaPlatform
- MethodChannelLwa
Constructors
Properties
- channel ↔ MethodChannel
-
This is only exposed for test purposes. It shouldn't be used by clients of
the plugin as it may break or change at any time.
getter/setter pair
- grantType ↔ GrantType?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- proofKeyParameters ↔ ProofKeyParameters?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
↔ List<
Scope> -
getter/setter pairinherited
Methods
-
fetchUserProfile(
) → Future< LwaUser> -
override
-
getCurrentAuth(
) → LwaAuthorizeResult -
override
-
getOnLwaAuthorizeChangedStream(
) → Stream< LwaAuthorizeResult> -
Subscribe to this stream to be notified when the current user changes.
override
-
init(
{List< Scope> scopes = const <Scope>[], GrantType? grantType, ProofKeyParameters? proofKeyParameters}) → Future<void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signIn(
) → Future< LwaAuthorizeResult> -
override
-
signInSilently(
{bool suppressErrors = true}) → Future< LwaAuthorizeResult> -
override
-
signOut(
) → Future< LwaAuthorizeResult> -
Marks current user as being in the signed out state.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited