Command constructor

Command({
  1. String? name,
  2. String? description,
  3. String? shortcut,
})

Implementation

Command({
  /// The name of the Extension Command
  String? name,

  /// The Extension Command description
  String? description,

  /// The shortcut active for this command, or blank if not active.
  String? shortcut,
}) : _wrapped = $js.Command(
        name: name,
        description: description,
        shortcut: shortcut,
      );