copyWith method

  1. @override
UpdateLiveStoryTopDonors copyWith({
  1. int? groupCallId,
  2. LiveStoryDonors? donors,
  3. dynamic extra,
  4. int? clientId,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
UpdateLiveStoryTopDonors copyWith({
  int? groupCallId,
  LiveStoryDonors? donors,
  dynamic extra,
  int? clientId,
}) => UpdateLiveStoryTopDonors(
  groupCallId: groupCallId ?? this.groupCallId,
  donors: donors ?? this.donors,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);