ChatPlatformServices constructor
const
ChatPlatformServices({
- Future<
List< pickAttachments(PromptAttachment> >- PromptAttachmentKind kind
- Future<
PromptAttachment?> readImage(- PromptAttachment attachment
- ChatPathResolver resolvePath = platform.resolvePlatformPath,
- ImageProvider<
Object> imageForPath(- String path
- String workingDirectory() = platform.platformWorkingDirectory,
Implementation
const ChatPlatformServices({
this.pickAttachments = platform.pickPlatformAttachments,
this.readImage = platform.readDroppedImageAttachment,
this.resolvePath = platform.resolvePlatformPath,
this.imageForPath = platform.platformImageForPath,
this.workingDirectory = platform.platformWorkingDirectory,
});