RouteEditorSource constructor
RouteEditorSource(
- Context context,
- RouteEditor routeEditor, [
- RouteMapObjectDisplayFlagEnumSet? activeDisplayFlags = null,
- RouteMapObjectDisplayFlagEnumSet? inactiveDisplayFlags = null,
- RouteMapObjectCalloutLabelFlagEnumSet? activeCalloutLabelFlags = null,
- RouteMapObjectCalloutLabelFlagEnumSet? inactiveCalloutLabelFlags = null,
- RouteMapObjectCalloutLabelDisplayMode calloutLabelDisplayMode = RouteMapObjectCalloutLabelDisplayMode.absoluteValues,
- RouteMapObjectPermanentDisplayFlagEnumSet? activePermanentDisplayFlags = null,
- RouteMapObjectPermanentDisplayFlagEnumSet? inactivePermanentDisplayFlags = null,
Функция создания IRouteEditorSource.
- Throws: Exception если невозможно получить зависимости IRouteEditorSource из контекста или если route_editor равен null
Implementation
factory RouteEditorSource(
Context context,
RouteEditor routeEditor,
[RouteMapObjectDisplayFlagEnumSet? activeDisplayFlags = null,
RouteMapObjectDisplayFlagEnumSet? inactiveDisplayFlags = null,
RouteMapObjectCalloutLabelFlagEnumSet? activeCalloutLabelFlags = null,
RouteMapObjectCalloutLabelFlagEnumSet? inactiveCalloutLabelFlags = null,
RouteMapObjectCalloutLabelDisplayMode calloutLabelDisplayMode = RouteMapObjectCalloutLabelDisplayMode.absoluteValues,
RouteMapObjectPermanentDisplayFlagEnumSet? activePermanentDisplayFlags = null,
RouteMapObjectPermanentDisplayFlagEnumSet? inactivePermanentDisplayFlags = null
]) {
var _a0 = context._copyFromDartTo_CContext();
var _a1 = routeEditor._copyFromDartTo_CRouteEditor();
var _a2 = activeDisplayFlags._copyFromDartTo_COptional_COptionSet_CRouteMapObjectDisplayFlag();
var _a3 = inactiveDisplayFlags._copyFromDartTo_COptional_COptionSet_CRouteMapObjectDisplayFlag();
var _a4 = activeCalloutLabelFlags._copyFromDartTo_COptional_COptionSet_CRouteMapObjectCalloutLabelFlag();
var _a5 = inactiveCalloutLabelFlags._copyFromDartTo_COptional_COptionSet_CRouteMapObjectCalloutLabelFlag();
var _a6 = calloutLabelDisplayMode._copyFromDartTo_CRouteMapObjectCalloutLabelDisplayMode();
var _a7 = activePermanentDisplayFlags._copyFromDartTo_COptional_COptionSet_CRouteMapObjectPermanentDisplayFlag();
var _a8 = inactivePermanentDisplayFlags._copyFromDartTo_COptional_COptionSet_CRouteMapObjectPermanentDisplayFlag();
_CRouteEditorSource res = _CRouteEditorSource_C_createWith_CContext_CRouteEditor_COptional_COptionSet_CRouteMapObjectDisplayFlag_COptional_COptionSet_CRouteMapObjectDisplayFlag_COptional_COptionSet_CRouteMapObjectCalloutLabelFlag_COptional_COptionSet_CRouteMapObjectCalloutLabelFlag_CRouteMapObjectCalloutLabelDisplayMode_COptional_COptionSet_CRouteMapObjectPermanentDisplayFlag_COptional_COptionSet_CRouteMapObjectPermanentDisplayFlag(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8);
_a1._releaseIntermediate();
_a0._releaseIntermediate();
return RouteEditorSource._create(res._impl);
}