executionPlaneFor method

CockpitPlaneKind executionPlaneFor(
  1. CockpitCommandResult result
)

Implementation

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