sendLocationMessage method Null safety

Future<JMLocationMessage> sendLocationMessage(
  1. {required double? latitude,
  2. required double? longitude,
  3. required int? scale,
  4. String? address,
  5. JMMessageSendOptions? sendOption,
  6. Map? extras}
)

Implementation

Future<JMLocationMessage> sendLocationMessage({
  required double? latitude,
  required double? longitude,
  required int? scale,
  String? address,
  JMMessageSendOptions? sendOption,
  Map<dynamic, dynamic>? extras,
}) async {
  JMLocationMessage msg = await JmessageFlutter().sendLocationMessage(
    type: target.targetType,
    latitude: latitude,
    longitude: longitude,
    scale: scale,
    address: address,
    sendOption: sendOption,
    extras: extras,
  );
  return msg;
}