types library Null safety
Typedefs
- OnCompleteCallback = void Function(bool? isCompleted, Error? error)
- OnFileMessageCallback = void Function(FileMessage message, Error? error)
- OnMessageCallback = void Function(BaseMessage message, Error? error)
- OnPollCallback = void Function(Poll? poll, Error? error)
- OnPollOptionCallback = void Function(PollOption? pollOption, Error? error)
-
OnScheduledMessageCallback<
T> = void Function(T? message, Error? error) - OnScheduledMessageCancelCallback = void Function(Error? error)
- OnScheduledMessageSendNowCallback = void Function(Error? error)
- OnTotalScheduledMessageCountCallback = void Function(int? totalCount, Error? error)
- OnUploadProgressCallback = void Function(int sentBytes, int totalBytes)
- OnUserMessageCallback = void Function(UserMessage message, Error? error)