discontinuedPackage flutter_request_bloc has been discontinued.

BaseService<S> class abstract

This class serves as a base for building API clients.

S can be anything you want! It's the base agent to make the connection with the data.

  • For http connections, we usually use Dio.
  • For Firebase use the proper Firebase instance.

Constructors

BaseService(S client)
const

Properties

client → S
Class that actually makes the connection to the data service
final
hashCode → int
The hash code for this object.
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