getPlace method
Implementation
Future<Place> getPlace(String sdkId, String placeId) async {
final res = await _methodChannel.invokeMethod<String>(
'PlaceApi.getPlace',
{
"sdkId": sdkId,
"placeId": jsonEncode(placeId),
}
);
if (res == null) throw AssertionError("received null result from platform method getPlace");
final parsedResJson = jsonDecode(res);
return Place.fromJSON(parsedResJson);
}