callPlaceDetailLegacy method
Implementation
@deprecated
Future<PlaceDetailLegacyResponse?> callPlaceDetailLegacy() async {
try {
String? result = await restApi.placeDetailLegacy(toMap());
return result != null
? PlaceDetailLegacyResponse.fromMap(json.decode(result))
: null;
} on PlatformException catch (e) {
return Future.error(e);
}
}