Dataset class

A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.

Constructors

Dataset({DateTime? creationDate, int? dataStorage, String? datasetName, String? identityId, String? lastModifiedBy, DateTime? lastModifiedDate, int? numRecords})
Dataset.fromJson(Map<String, dynamic> json)
factory

Properties

creationDate DateTime?
Date on which the dataset was created.
final
datasetName String?
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
final
dataStorage int?
Total size in bytes of the records in this dataset.
final
hashCode int
The hash code for this object.
no setterinherited
identityId String?
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
final
lastModifiedBy String?
The device that made the last change to this dataset.
final
lastModifiedDate DateTime?
Date when the dataset was last modified.
final
numRecords int?
Number of records in this dataset.
final
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
toString() String
A string representation of this object.
inherited

Operators

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