executionPlaneFor method
Implementation
CockpitPlaneKind executionPlaneFor(CockpitCommandResult result) {
return switch (surfaceKindFor(result)) {
CockpitSurfaceKind.nativeUi => CockpitPlaneKind.nativeUiPlane,
CockpitSurfaceKind.systemUi => CockpitPlaneKind.deviceSystemPlane,
CockpitSurfaceKind.hostShell => CockpitPlaneKind.hostPlane,
_ => CockpitPlaneKind.flutterSemanticPlane,
};
}