getPolygon method

Future<CroppingPolygon> getPolygon()

Implementation

Future<CroppingPolygon> getPolygon() async {
  var json = await _croppingChannel.invokeMethod("getEditedPolygon");
  return CroppingPolygon.fromJson(jsonDecode(json));
}