updateIdentity method

void updateIdentity({
  1. String? commandSetId,
  2. int? priority,
  3. String? proTag,
  4. bool clearProTag = false,
})

Update identity.

Implementation

void updateIdentity({String? commandSetId, int? priority, String? proTag, bool clearProTag = false}) {
  final current = selected;
  if (current == null) return;
  _update(current.copyWith(commandSetId: commandSetId, priority: priority, proTag: proTag, clearProTag: clearProTag));
}