OptimizeFor enum
Determines what information will be placed in the json.
Values
- put → const OptimizeFor
-
Creates a json with only what is needed for a PUT request.
- putFull → const OptimizeFor
-
Creates a json with only what is needed for a PUT request.
This is different from put because it adds all of the data that is relevant to a PUT request since a parent of this object has changed. This requires all of the children of that object to be sent in full with the PUT request.
- post → const OptimizeFor
-
Creates a json with only what is needed for a POST request.
- dontOptimize → const OptimizeFor
-
Creates a json with no data excluded.
Properties
Methods
-
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
Constants
-
values
→ const List<
OptimizeFor> - A constant List of the values in this enum, in order of their declaration.