ShortcutArg constructor

ShortcutArg({
  1. required String id,
  2. required String title,
  3. String iconResourceName = '',
  4. AndroidArg? androidArg,
  5. IosArg? iosArg,
})

Implementation

ShortcutArg({
  required this.id,
  required this.title,
  this.iconResourceName = '',
  this.androidArg,
  this.iosArg,
})  : assert(id.isNotEmpty),
      assert(title.isNotEmpty),
      assert(androidArg != null || iosArg != null);