copyWith method
ThreadsViewArguments
copyWith({
- ChatUIKitProfile? profile,
- bool? enableAppBar,
- ChatUIKitAppBarModel? appBarModel,
- String? attributes,
- ChatUIKitViewObserver? viewObserver,
- ChatUIKitAppBarActionsBuilder? appBarTrailingActionsBuilder,
Implementation
ThreadsViewArguments copyWith({
ChatUIKitProfile? profile,
bool? enableAppBar,
ChatUIKitAppBarModel? appBarModel,
String? attributes,
ChatUIKitViewObserver? viewObserver,
ChatUIKitAppBarActionsBuilder? appBarTrailingActionsBuilder,
}) {
return ThreadsViewArguments(
profile: profile ?? this.profile,
enableAppBar: enableAppBar ?? this.enableAppBar,
appBarModel: appBarModel ?? this.appBarModel,
attributes: attributes ?? this.attributes,
viewObserver: viewObserver ?? this.viewObserver,
);
}