sendTextMessage method Null safety

Future<JMTextMessage> sendTextMessage(
  1. {required String? text,
  2. JMMessageSendOptions? sendOption,
  3. Map? extras}
)

Implementation

Future<JMTextMessage> sendTextMessage({
  required String? text,
  JMMessageSendOptions? sendOption,
  Map<dynamic, dynamic>? extras,
}) async {
  JMTextMessage msg = await JmessageFlutter().sendTextMessage(
      type: target.targetType,
      text: text,
      sendOption: sendOption,
      extras: extras);
  return msg;
}