MarkdownAlertType enum

The kind of an alert, from the marker on the first line of a quote:

> [!WARNING]
> Back up your data first.
Inheritance
Available extensions

Values

note → const MarkdownAlertType

[!NOTE] — information worth noticing even when skimming.

tip → const MarkdownAlertType

[!TIP] — optional advice for doing something better.

important → const MarkdownAlertType

[!IMPORTANT] — information needed to succeed.

warning → const MarkdownAlertType

[!WARNING] — something that needs attention straight away.

caution → const MarkdownAlertType

[!CAUTION] — the risks or negative outcomes of an action.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromMarker(String line) → MarkdownAlertType?
The type line marks, or null when it is not exactly one marker.

Constants

values → const List<MarkdownAlertType>
A constant List of the values in this enum, in order of their declaration.