createChatroomLocationMessage method Null safety
Create a location message.
Implementation
static Future<NIMResult<NIMChatroomMessage>> createChatroomLocationMessage({
required String roomId,
required double latitude,
required double longitude,
required String address,
}) async {
return NimCore.instance.chatroomService._createMessage({
'roomId': roomId,
'latitude': latitude,
'longitude': longitude,
'address': address,
'messageType': 'location',
});
}