copyWith method

SponsoredMessages copyWith({
  1. List<SponsoredMessage>? messages,
  2. int? messagesBetween,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

SponsoredMessages copyWith({
  List<SponsoredMessage>? messages,
  int? messagesBetween,
  dynamic extra,
  int? clientId,
}) =>
    SponsoredMessages(
      messages: messages ?? this.messages,
      messagesBetween: messagesBetween ?? this.messagesBetween,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );