generatesCode property

bool get generatesCode

Whether this mode generates code automatically.

Implementation

bool get generatesCode {
  return switch (this) {
    ExecutionMode.automatic => true,
    ExecutionMode.manual => false,
    ExecutionMode.interactive => true,
  };
}