Sheet class

Constructors

Sheet({required String id, String? provider, String? accountId, String? ownerUserId, required String name, String? description, Map<String, Object> data = const {}, required int rowCount, required int columnCount, required int sheetCount, required bool isPublic, required bool isReadOnly, int? fileSize, DateTime? lastAccessedAt, required DateTime createdAt, required DateTime updatedAt})
Returns a new Sheet instance.

Properties

accountId ↔ String?
Connected-account row this sheet belongs to.
getter/setter pair
columnCount ↔ int
getter/setter pair
createdAt ↔ DateTime
getter/setter pair
data ↔ Map<String, Object>
Free-form provider blob. Treat as opaque.
getter/setter pair
description ↔ String?
getter/setter pair
fileSize ↔ int?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String
getter/setter pair
isPublic ↔ bool
getter/setter pair
isReadOnly ↔ bool
getter/setter pair
lastAccessedAt ↔ DateTime?
getter/setter pair
name ↔ String
getter/setter pair
ownerUserId ↔ String?
User id of the sheet owner; non-native providers leave empty.
getter/setter pair
provider ↔ String?
Registered provider id (e.g. native-sheets).
getter/setter pair
rowCount ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sheetCount ↔ int
Tab count when the file contains multiple sheets.
getter/setter pair
updatedAt ↔ DateTime
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) → Sheet?
Returns a new Sheet instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Sheet>
mapFromJson(dynamic json) → Map<String, Sheet>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Sheet>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.