OptimizeFor enum

Determines what information will be placed in the json.

Inheritance

Constructors

OptimizeFor()
const

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.