createImageMessage method
Implementation
@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createImageMessage({required String imagePath, dynamic inputElement, String? imageName}) async {
Map<String, dynamic> param = {"imagePath": imagePath};
var resp = V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
"createImageMessage",
buildMessageMangerParam(
param,
),
),
),
);
log("createImageMessage", param, resp.toLogString());
return resp;
}