update method

void update(
  1. Iterable<String> permissions
)

Replaces the permission list and marks loading finished.

Implementation

void update(Iterable<String> permissions) {
  _granter = TPermissionSet(permissions);
  _loading = false;
  notifyListeners();
}