sendLocation method
Sends the location with description body
and geo URI geoUri
into a room.
Returns the event ID generated by the server for this message.
Implementation
Future<String?> sendLocation(String body, String geoUri, {String? txid}) {
final event = <String, dynamic>{
'msgtype': 'm.location',
'body': body,
'geo_uri': geoUri,
};
return sendEvent(event, txid: txid);
}