OData class
Uses HTTPS by default. You can use HTTP by setting useHttp to true
Properties
Methods
-
collection<
T> (String path, {CollectionQueryOptions< T> options = const CollectionQueryOptions(), bool tryUseAuth = true}) → CollectionQuery<T> -
tryUseAuth
will attach Authorization information to the Headers if possible -
get<
T> (String path) → Future< T?> -
getList<
T> (String path) → Future< BuiltList< T?> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBearer(
String token) → void -
setCookie(
String cookie) → void -
single<
T> (String path, {QueryOptions< T> options = const QueryOptions(), bool tryUseAuth = true}) → Query<T> -
tryUseAuth
will attach Authorization information to the Headers if possible -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited