createLocationMessage method Null safety

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createLocationMessage(
  1. {required String desc,
  2. required double longitude,
  3. required double latitude}
)

Create location information longitude longitude, set latitude latitude when sending a message, set desc geographic location description information when sending a message

Implementation

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createLocationMessage({
  required String desc,
  required double longitude,
  required double latitude,
}) async {
  return ImFlutterPlatform.instance.createLocationMessage(
    desc: desc,
    longitude: longitude,
    latitude: latitude,
  );
}