Provider class

Si occupa di effettuare le chiamate REST e di inviare i dati di FirebasePerformance

Constructors

Provider()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String url, {Map? data, Map<String, String>? headers}) Future<Response>
Manda una DELETE
get(String url, {Map<String, String>? headers, String responseDecoder(Uint8List)?, Map<String, String>? queryParams}) Future<Response>
Effettua una chiamata GET
init() Future<void>
Inizializza il Provider impostando anche il certificato per il SecurityContext
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String url, {Map? data, Map<String, String>? headers}) Future<Response>
Manda una PATCH
post(String url, {Map? data, String tokenName = 'Authorization', List? dataAsList, Map<String, String>? headers}) Future<Response>
Effettua una post
toString() String
A string representation of this object.
inherited

Operators

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