createTextMessage method Null safety

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createTextMessage(
  1. {required String text}
)

Create a text message

  • parameter:
  • text the text to pass

Implementation

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createTextMessage(
    {required String text}) async {
  return ImFlutterPlatform.instance.createTextMessage(text: text);
}