Baas SDK

Created the Flutter SDK using the Dio package for HTTP connections with the backend. The default configuration uses 'https://baas.pragmr.com' in the WorkioConfig file.

API Service:

Implemented using Dio for backend communication.

Auth Service:

Handles OTP and user authentication operations. Supports both REST and GraphQL endpoints for flexible integration. REST API: Used for sending OTP and user login. GraphQL: Added for new user registration and OTP verification. Dynamic parameters are passed to each method, allowing adaptable endpoint calls.

Exports:

All API services, AuthService, and BaasConfig are exported in baas_sdk.dart for easy integration.

Libraries

baas_sdk