FakePrincipal class final
A principal known to the fake.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
user,apiKey,pairing,cloud,anonymous.final - name → String
-
Display name.
final
- role → String
-
Role.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ Set<
String> -
Scopes.
final
- subject → String
-
Subject id.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
GET /auth/mebody. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited