createImageMessage method Null safety
Create image messages (image files up to 28 MB)
Implementation
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createImageMessage(
{required String imagePath,
Uint8List? fileContent, // web required
String? fileName //web required
}) async {
return ImFlutterPlatform.instance.createImageMessage(
imagePath: imagePath, fileContent: fileContent, fileName: fileName);
}