withPreferredConfigOptions method

ChatSessionSettings withPreferredConfigOptions(
  1. List<ChatConfigOption> options
)

Implementation

ChatSessionSettings withPreferredConfigOptions(
  List<ChatConfigOption> options,
) {
  if (options.isEmpty) return copyWith(configOptions: options);
  return ChatSessionSettings(
    configOptions: options,
    omissions: omissions,
    truncated: truncated,
  );
}