requestAll method

  1. @override
Future requestAll()
override

Implementation

@override
Future requestAll() async {
  // var ret = await repository.requestAll();

  update(state: PermissionListViewState.Refresh);

  if (hasError = await checkError) {
    update(state: PermissionListViewState.Error);
  }

  if (await PermissionManager.allGranted) {
    update(state: PermissionListViewState.AllGranted);
  }
}