copyWith method

ShortcutArg copyWith({
  1. String? id,
  2. String? shortLabel,
  3. String? longLabel,
  4. String? iconResourceName,
  5. String? uri,
  6. bool? enabled,
})

Implementation

ShortcutArg copyWith({
  String? id,
  String? shortLabel,
  String? longLabel,
  String? iconResourceName,
  String? uri,
  bool? enabled,
}) =>
    ShortcutArg(
      id: id ?? this.id,
      shortLabel: shortLabel ?? this.shortLabel,
      longLabel: longLabel ?? this.longLabel,
      iconResourceName: iconResourceName ?? this.iconResourceName,
      uri: uri ?? this.uri,
      enabled: enabled ?? this.enabled,
    );