rawRepresentationFactory property
A callback that produces the implementation-specific options object.
When the underlying ChatClient converts these options into its own representation, it will call this factory (if set) to obtain a starting object. Return a new instance on each call — do not share instances.
Implementation
Object? Function(ChatClient)? rawRepresentationFactory;