Replace enum

Ansi modifier replacement method.

Inheritance

Constructors

Replace()
const

Values

none → const Replace

Existing Ansi modifiers are left untouched.

starting → const Replace

If the String starts with an Ansi modifier, the modifier is replaced with the new modifier. Otherwise the new modifier is applied.

first → const Replace

The first encountered Ansi modifier is replaced with the new modifier. If the string does not contain an Ansi modifier it is returned unchanged.

clearPrevious → const Replace

All existing Ansi modifiers are removed and the new Ansi modifier is applied.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

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