HatangFilePick typedef
HatangFilePick =
Future<UploadSource?> Function()
Lets the visitor pick a file of any type, or null when they cancel.
The SDK does not depend on a file picker itself, so apps choose theirs
(and its version): package:hatang_chat/file_picker.dart provides
HatangFilePick over file_picker, or wrap your own.
Implementation
typedef HatangFilePick = Future<UploadSource?> Function();