types library Null safety

Typedefs

OnFileMessageCallback(FileMessage message, Error? error) → void
OnMessageCallback(BaseMessage message, Error? error) → void
OnUploadProgressCallback(int sentBytes, int totalBytes) → void
OnUserMessageCallback(UserMessage message, Error? error) → void