copyWith method

MessagePositions copyWith({
  1. int? totalCount,
  2. List<MessagePosition>? positions,
  3. dynamic extra,
  4. 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,
    );