SetOptions class

Defines the options for an object set operation

Inheritance

Constructors

SetOptions({Cache? cache, required bool returnTop})
const

Properties

cache Cache?
Specify whether to cache the set object using its id as the cache key or not. If the object is cached and the timeout has expired, the cached object will automatically be removed from the cache.
final
hashCode int
The hash code for this object.
no setterinherited
returnTop bool
When you create a submodel object (a child object of a top-level object), you can specify whether to return the newly created child object or the updated top-level object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

merge(SetOptions? other) SetOptions
Merge Options. this is default, other is user defined.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JsonMap
override
toString() String
A string representation of this object.
inherited

Operators

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