HotKey constructor

HotKey({
  1. String? identifier,
  2. required KeyboardKey key,
  3. List<HotKeyModifier>? modifiers,
  4. HotKeyScope scope = HotKeyScope.system,
})

Implementation

HotKey({
  String? identifier,
  required this.key,
  this.modifiers,
  this.scope = HotKeyScope.system,
}) : identifier = identifier ?? _uuid.v4();