A1Ref class

Utility class for resolving a1 notation

Constructors

A1Ref(String value)
Creates A1Ref Can be used to resolve indices of cell reference in A1 notation

Properties

column → int
Cell column index
latefinal
hashCode → int
The hash code for this object.
no setterinherited
row → int
Cell row index
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
Cell reference in A1 notation
final

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

getColumnIndex(String label) → int
Converts A1 notation letter label into column index A -> 1 B -> 2 AA -> 27
getColumnLabel(int index) → String
Converts index into A1 notation letter label 1 -> A 2 -> B 27 -> AA