editLocation method
Future<Result<Boolean> >
editLocation({
- required InputChannelBase channel,
- required InputGeoPointBase geoPoint,
- required String address,
Edit Location.
ID: 58e63f6d
.
Implementation
Future<Result<Boolean>> editLocation({
required InputChannelBase channel,
required InputGeoPointBase geoPoint,
required String address,
}) async {
// Preparing the request.
final request = ChannelsEditLocation(
channel: channel,
geoPoint: geoPoint,
address: address,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}