copyWith method

  1. @override
UpdateOption copyWith({
  1. String? name,
  2. OptionValue? value,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateOption copyWith({
  String? name,
  OptionValue? value,
  dynamic extra,
  int? clientId,
}) => UpdateOption(
  name: name ?? this.name,
  value: value ?? this.value,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);