copyWith method

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

Implementation

ShortcutArg copyWith({
  String? id,
  String? title,
  String? iconResourceName,
  AndroidArg? androidArg,
  IosArg? iosArg,
}) =>
    ShortcutArg(
      id: id ?? this.id,
      title: title ?? this.title,
      iconResourceName: iconResourceName ?? this.iconResourceName,
      androidArg: androidArg ?? this.androidArg,
      iosArg: iosArg ?? this.iosArg,
    );