copyWith method
Implementation
ChatPosition copyWith({
ChatList? list,
int? order,
bool? isPinned,
ChatSource? source,
}) =>
ChatPosition(
list: list ?? this.list,
order: order ?? this.order,
isPinned: isPinned ?? this.isPinned,
source: source ?? this.source,
);