FirestoreFieldTtlConfig class

ttl_config block (max_items=1). Presence alone enables the TTL policy on the parent field -- the schema's single attribute (state) is computed and read-only. Pass const FirestoreFieldTtlConfig() to enable; omit to disable.

Annotations
  • @immutable

Constructors

FirestoreFieldTtlConfig()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Map<String, Object?>
Empty map -- the schema has no input attributes on this block.
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