copyWith method

MessageCalendar copyWith({
  1. int? totalCount,
  2. List<MessageCalendarDay>? days,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

MessageCalendar copyWith({
  int? totalCount,
  List<MessageCalendarDay>? days,
  dynamic extra,
  int? clientId,
}) =>
    MessageCalendar(
      totalCount: totalCount ?? this.totalCount,
      days: days ?? this.days,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );