FittorHelpers class

Constructors

FittorHelpers.new()

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

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

Static Methods

buildQueryString(Map<String, dynamic> parameters) String
createDefaultHeaders() FittorHeaders
encodeBody(dynamic body, String? contentType) Uint8List
getStatusMessage(int statusCode) String
isClientErrorStatusCode(int statusCode) bool
isRedirectStatusCode(int statusCode) bool
isServerErrorStatusCode(int statusCode) bool
isSuccessStatusCode(int statusCode) bool
parseJson<T>(String jsonString) → T?
parseQueryString(String queryString) Map<String, dynamic>