ODataSourceMapped<T> class

Constructors

ODataSourceMapped(ODataSource source, ODataMapper<T> mapper)
const
ODataSourceMapped.create({required ODataRequester requester, required String entity, required ODataMapper<T> mapper, String odataPrefix = '/odata.v1'})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mapper ODataMapper<T>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source ODataSource
final

Methods

create<D>(D data, {RequestOptions? options, Params? params, String? params1}) Future<RequestOData<T>>
delete(String id, {RequestOptions? options}) Future<RequestOData>
getById(String id, {RequestOptions? options, Params? params, String? params1}) Future<RequestOData<T>>
list({RequestOptions? options, Params? params, String? params1}) Future<RequestOData<List<T>>>
mapMany(Map<String, dynamic> data) List<T>
mapOne(Map<String, dynamic> data) → T
mapOne1(Map<String, dynamic> data) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace<D>(String id, D data, {RequestOptions? options}) Future<RequestOData>
toString() String
A string representation of this object.
inherited
update<D>(String id, D data, {RequestOptions? options}) Future<RequestOData>

Operators

operator ==(Object other) bool
The equality operator.
inherited