copyWith method
MessagePositions
copyWith({
- int? totalCount,
- List<
MessagePosition> ? positions, - dynamic extra,
- int? clientId,
Implementation
MessagePositions copyWith({
int? totalCount,
List<MessagePosition>? positions,
dynamic extra,
int? clientId,
}) => MessagePositions(
totalCount: totalCount ?? this.totalCount,
positions: positions ?? this.positions,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);