ShortcutArg constructor

ShortcutArg({
  1. required String id,
  2. required String shortLabel,
  3. String longLabel = '',
  4. String iconResourceName = '',
  5. String uri = '',
  6. bool enabled = true,
})

Implementation

ShortcutArg({
  required this.id,
  required this.shortLabel,
  this.longLabel = '',
  this.iconResourceName = '',
  this.uri = '',
  this.enabled = true,
})  : assert(id.isNotEmpty),
      assert(shortLabel.isNotEmpty);