createSoundMessage method
Implementation
@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createSoundMessage({
required String soundPath,
required int duration,
}) async {
return V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
"createSoundMessage",
buildMessageMangerParam(
{
"soundPath": soundPath,
"duration": duration,
},
),
),
),
);
}