FakeUserResponse enum
How the simulated user answers a prompt shown inside get().
Each kind of prompt takes answers from its own queue; an unscripted
prompt gets the cooperative answer (grant precise, turn location on,
accept precise), as baaba_permission_handler's fake does.
Values
- grantPrecise → const FakeUserResponse
- grantApproximate → const FakeUserResponse
- deny → const FakeUserResponse
- denyPermanently → const FakeUserResponse
- dismiss → const FakeUserResponse
-
Close the permission dialog without answering: nothing changes.
- enableServices → const FakeUserResponse
- keepServicesOff → const FakeUserResponse
- acceptPrecise → const FakeUserResponse
- declinePrecise → const FakeUserResponse
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
FakeUserResponse> - A constant List of the values in this enum, in order of their declaration.