copyWith method

Updates copyWith({
  1. List<Update>? updates,
  2. dynamic extra,
  3. int? clientId,
})

Implementation

Updates copyWith({
  List<Update>? updates,
  dynamic extra,
  int? clientId,
}) =>
    Updates(
      updates: updates ?? this.updates,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );