copyWith method
Implementation
Messages copyWith({
int? totalCount,
List<Message>? messages,
dynamic extra,
int? clientId,
}) => Messages(
totalCount: totalCount ?? this.totalCount,
messages: messages ?? this.messages,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);