AppendOptions class
Defines the options for an object append operation
- Inheritance
-
- Object
- DbOperationOptions<
AppendOptions> - AppendOptions
Constructors
- AppendOptions({required bool returnTop, required Cache? cache})
-
const
Properties
- cache → Cache?
-
Specify whether to cache the appended 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(
AppendOptions? other) → AppendOptions -
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