FloraCloud class

Constructors

FloraCloud({String apiUrl = "https://api.florafi.net"})

Properties

accessToken AccessToken?
getter/setter pair
apiHost String
final
baseUrl Uri
latefinal
hashCode int
The hash code for this object.
no setterinherited
refreshToken String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkIn() Future<List<FarmTicket>>
delete(String path) Future<Response>
fluxQuery({dynamic farmId = 0, required String raw}) Future<String>
get(String path, {Map<String, dynamic>? queryParameters, dynamic authenticated = true, Map<String, String>? headers}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String path, {dynamic authenticated = true, Map<String, dynamic>? json, Map<String, dynamic>? queryParameters, Map<String, String>? headers}) Future<Response>
put(String path) Future<Response>
request(Request request, {dynamic authenticated = true}) Future<Response>
saveFcmToken({required String token, required String userAgent}) Future<void>
signIn(String email, String password, {dynamic remember = false}) Future<void>
signUp({required String name, required String email, required String password}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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