discontinuedPackage androssy has been discontinued.

ApiDataSourceImpl<T extends Entity> class abstract

Inheritance
Implementers

Constructors

ApiDataSourceImpl({required Api api, required String path})

Properties

api → Api
final
database → Dio
no setter
hashCode → int
The hash code for this object.
no setterinherited
path → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(dynamic source) → T
inherited
currentSource<R>(R? source(R parent)?) → String
currentUrl<R>(String id, R? source(R parent)?) → String
delete<R>(String id, {Map<String, dynamic>? extra, R? source(R parent)?}) → Future<Response<T>>
override
get<R>(String id, {Map<String, dynamic>? extra, R? source(R parent)?}) → Future<Response<T>>
override
gets<R>({bool onlyUpdatedData = false, Map<String, dynamic>? extra, R? source(R parent)?}) → Future<Response<T>>
override
getUpdates<R>({Map<String, dynamic>? extra, R? source(R parent)?}) → Future<Response<T>>
override
insert<R>({required T data, R? source(R parent)?}) → Future<Response<T>>
override
live<R>(String id, {Map<String, dynamic>? extra, R? source(R parent)?}) → Stream<Response<T>>
override
lives<R>({bool onlyUpdatedData = false, Map<String, dynamic>? extra, R? source(R parent)?}) → Stream<Response<T>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update<R>(String id, Map<String, dynamic> data, {R? source(R parent)?}) → Future<Response<T>>
override

Operators

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