ShortcutArg constructor
ShortcutArg({
- required String id,
- required String title,
- String iconResourceName = '',
- AndroidArg? androidArg,
- 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);