ScriptAttribution class

An attribution for superscript and subscript text.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Attributions with different IDs can overlap each other, but attributions with the same ID cannot overlap.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

canMergeWith(Attribution other) bool
Returns true if this Attribution can be combined with the other Attribution, replacing both smaller attributions with one larger attribution.
override
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

typeSub → const String
typeSuper → const String