copyWith method

ChatLists copyWith({
  1. List<ChatList>? chatLists,
  2. dynamic extra,
  3. int? clientId,
})

Implementation

ChatLists copyWith({
  List<ChatList>? chatLists,
  dynamic extra,
  int? clientId,
}) => ChatLists(
  chatLists: chatLists ?? this.chatLists,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);