copyWith method
SponsoredMessages
copyWith({
- List<
SponsoredMessage> ? messages, - int? messagesBetween,
- dynamic extra,
- 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,
);