createCustomMessage method Null safety
Create custom messages
parameter:
- data is a custom message
- description Customize the message description information, which is displayed in text when doing offline Push.
- extension Extension field information when pushing offline.
Implementation
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createCustomMessage({
required String data,
String desc = "",
String extension = "",
}) async {
return ImFlutterPlatform.instance
.createCustomMessage(data: data, extension: extension, desc: desc);
}