DeleteOptions class

Defines the options for an object delete operation

Inheritance

Constructors

DeleteOptions({bool? returnTop, bool? removeFromCache})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
removeFromCache bool?
Specify whether to remove deleted object from cache using deleted object id as the cache key.
final
returnTop bool?
In case if you delete a submodel object (a child object of a top-level object), you can specify whether to return the updated top-level object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

merge(DeleteOptions? other) DeleteOptions
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