Constraints class

The constraints for this update.

Constructors

Constraints()
Constraints.fromJson(Map _json)

Properties

deviceLocation String
A client's physical location, expressed as a ISO 31166-1 alpha-2 region code.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
language String
Requests the lists for a specific language. Expects ISO 639 alpha-2 format.
read / write
maxDatabaseEntries int
Sets the maximum number of entries that the client is willing to have in the local database for the specified list. This should be a power of 2 between 210 and 220. If zero, no database size limit is set.
read / write
maxUpdateEntries int
The maximum size in number of entries. The update will not contain more entries than this value. This should be a power of 2 between 210 and 220. If zero, no update size limit is set.
read / write
region String
Requests the list for a specific geographic location. If not set the server may pick that value based on the user's IP address. Expects ISO 3166-1 alpha-2 format.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
supportedCompressions List<String>
The compression types supported by the client.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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