setPermissions method

  1. @internal
ParticipantPermissions? setPermissions(
  1. ParticipantPermissions newValue
)

Implementation

@internal
// returns oldValue (if updated)
ParticipantPermissions? setPermissions(ParticipantPermissions newValue) {
  if (_permissions == newValue) return null;
  final oldValue = _permissions;
  _permissions = newValue;
  return oldValue;
}