is_not_interactive property

bool get is_not_interactive

Implementation

static bool get is_not_interactive {
  if (RegExp(r"virtual", caseSensitive: false)
      .hashData(SystemInfoFetch.get_model)) {
    return true;
  }
  return ((Platform.environment["packagex_is_no_interactive"] ?? "").trim() ==
      "true");
}