createComment method

CancelableOperation<AddEventResult> createComment(
  1. GeoPoint location,
  2. String description
)

Создание события "Комментарий".

  • Parameter location: Местоположение события.
  • Parameter description: Пользовательское описание события.

Implementation

CancelableOperation<AddEventResult> createComment(
  GeoPoint location,
  String description
)  {
  var _a1 = location._copyFromDartTo_CGeoPoint();
  var _a2 = description._copyFromDartTo_CString();
  _CFuture_CAddEventResult res = _CRoadEventManager_createComment_CGeoPoint_CString(_CRoadEventManagerMakeDefault().._impl=_self, _a1, _a2);
  _a2._releaseIntermediate();
  final t = res._toDart();
  res._releaseIntermediate();
  return t;
}