EasyHttpType enum Null safety
Set request type
Constructors
- EasyHttpType()
-
const
Values
- getSingle → const EasyHttpType
-
Set request to get SINGLE model on response
const EasyHttpType(0)
- getCollection → const EasyHttpType
-
Set request to get COLLECTION model on response
const EasyHttpType(1)
- post → const EasyHttpType
-
Set request to POST
const EasyHttpType(2)
- put → const EasyHttpType
-
Set request to PUT
const EasyHttpType(3)
- patch → const EasyHttpType
-
Set request to PATCH
const EasyHttpType(4)
- delete → const EasyHttpType
-
Set request to DELETE
const EasyHttpType(5)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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<
EasyHttpType> -
A constant List of the values in this enum, in order of their declaration.
[getSingle, getCollection, post, put, patch, delete]