whenRequested method
void
whenRequested(
- Permission p,
- PermissionStatus answer, [
- List<
PermissionStatus> more = const []
Queues the user's answer(s) to the next request(s) for p.
Implementation
void whenRequested(
Permission p,
PermissionStatus answer, [
List<PermissionStatus> more = const [],
]) => _answers.putIfAbsent(p, () => []).addAll([answer, ...more]);