Style class Null safety

Constructors

Style()
Style.attr(Map<String, Attribute> _attributes)

Properties

attributes Map<String, Attribute>
read-only
hashCode int
The hash code for this object.
read-only, override
isEmpty bool
read-only
isIgnored bool
read-only
isInline bool
read-only
isNotEmpty bool
read-only
keys Iterable<String>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
single Attribute
read-only
values Iterable<Attribute>
read-only

Methods

containsKey(String key) bool
getBlockExceptHeader() Attribute?
getBlocksExceptHeader() Map<String, Attribute>
merge(Attribute attribute) Style
mergeAll(Style other) Style
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
put(Attribute attribute) Style
removeAll(Set<Attribute> attributes) Style
toJson() Map<String, dynamic>?
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic>? attributes) Style