RouteMapObjectSource constructor
RouteMapObjectSource(
- Context context, [
- RouteVisualizationType routeVisualizationType = RouteVisualizationType.normal
Функция создания IRouteMapObjectSource.
- Throws: Exception если невозможно получить зависимости IRouteMapObjectSource из контекста
Implementation
factory RouteMapObjectSource(
Context context,
[RouteVisualizationType routeVisualizationType = RouteVisualizationType.normal
]) {
var _a0 = context._copyFromDartTo_CContext();
var _a1 = routeVisualizationType._copyFromDartTo_CRouteVisualizationType();
_CRouteMapObjectSource res = _CRouteMapObjectSource_C_createWith_CContext_CRouteVisualizationType(_a0, _a1);
_a0._releaseIntermediate();
return RouteMapObjectSource._create(res._impl);
}