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