createLocationMessage method
Implementation
@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createLocationMessage({
required String desc,
required double longitude,
required double latitude,
}) async {
Map<String, dynamic> param = {"desc": desc, "longitude": longitude, "latitude": latitude};
var resp = V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
'createLocationMessage',
buildMessageMangerParam(
param,
),
),
),
);
log("createLocationMessage", param, resp.toLogString());
return resp;
}