ActiveGridClient class
Api Client to communicate with the ActiveGrid Backend
- Annotations
-
- @Deprecated('ActiveGrid is now ApptiveGrid please use the new ApptiveGrid Packages https://pub.dev/packages?q=apptive_grid')
Constructors
- ActiveGridClient({ActiveGridOptions options = const ActiveGridOptions()})
- Creates an ApiClient
- ActiveGridClient.fromClient(Client httpClient, {ActiveGridOptions options = const ActiveGridOptions(), ActiveGridAuthenticator? authenticator})
-
Creates an Api Client on the Basis of a
http.Client
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Headers that are used for multiple Calls
no setter
- options ↔ ActiveGridOptions
-
Current Environment the Api is connecting to
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate(
) → Future< Credential?> - Authenticate the User
-
dispose(
) → void - Close the connection on the httpClient
-
loadForm(
{required String formId}) → Future< FormData> -
Loads a
FormData
specified withformId
-
loadGrid(
{required String user, required String space, required String grid}) → Future< Grid> -
Loads a
Grid
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performAction(
FormAction action, FormData formData) → Future< Response> -
Performs a FormAction using
formData
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited