CSSEntry<V extends CSSValue> class

A CSS entry (a pair of key and CSSValue).

Available Extensions

Constructors

CSSEntry(String name, V? value, {V? sampleValue, String? comment})

Properties

hashCode int
The hash code for this object.
no setteroverride
name String
The name/key of the CSS entry.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleValue ↔ V?
A sample value for this CSS entry (based on name).
getter/setter pair
sampleValueAsString String
Returns sampleValue as String.
no setter
value ↔ V?
The CSSValue of the entry.
getter/setter pair
valueAsString String
Returns value as String.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString([bool withDelimiter = false, DOMContext? domContext]) String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Properties

pairDelimiter RegExp
final

Static Methods

from<V extends CSSValue>(String name, Object? value, [String? comment]) CSSEntry<V>?
normalizeName(String? name) String?
parse<V extends CSSValue>(String entry, [String? comment]) CSSEntry<V>?