NamedRange class

A collection of Ranges with the same named range ID.

Named ranges allow developers to associate parts of a document with an arbitrary user-defined label so their contents can be programmatically read or edited later. A document can contain multiple named ranges with the same name, but every named range has a unique ID. A named range is created with a single Range, and content inserted inside a named range generally expands that range. However, certain document changes can cause the range to be split into multiple ranges. Named ranges are not private. All applications and collaborators that have access to the document can see its named ranges.

Constructors

NamedRange({String? name, String? namedRangeId, List<Range>? ranges})
NamedRange.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the named range.
getter/setter pair
namedRangeId String?
The ID of the named range.
getter/setter pair
ranges List<Range>?
The ranges that belong to this named range.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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