askless 3.1.1 askless: ^3.1.1 copied to clipboard
Build Flutter Apps with PostgreSQL, MySQL, or any database, stream data changes through websockets effortlessly, handle websocket authentication like a pro and elevate your Flutter Chat App with video [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add askless
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
askless: ^3.1.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:askless/constants.dart';
import 'package:askless/data/models/askless_error_model.dart';
import 'package:askless/data/models/internal_response_model.dart';
import 'package:askless/domain/entities/internal_response_cli_entity.dart';
import 'package:askless/domain/entities/response_entity.dart';
import 'package:askless/domain/services/authenticate_service.dart';
import 'package:askless/domain/services/call_service.dart';
import 'package:askless/domain/services/connection_service.dart';
import 'package:askless/domain/services/requests_service.dart';
import 'package:askless/domain/utils/logger.dart';
import 'package:askless/index.dart';
import 'package:askless/injection_container.dart';
import 'package:askless/middleware/ListeningHandler.dart';
import 'package:askless/middleware/data/Mappable.dart';
import 'package:askless/middleware/data/connection/PingPong.dart';
import 'package:askless/middleware/data/receivements/AuthenticateResponseCli.dart';
import 'package:askless/middleware/data/receivements/ConfigureConnectionResponseCli.dart';
import 'package:askless/middleware/data/receivements/NewDataForListener.dart';
import 'package:askless/middleware/data/receivements/ServerConfirmReceiptCli.dart';
import 'package:askless/middleware/data/receivements/StopListeningEvent.dart';
import 'package:askless/middleware/data/receivements/askless_error_entity.dart';
import 'package:askless/middleware/data/request/AbstractRequestCli.dart';
import 'package:askless/middleware/data/request/AuthenticateRequestCli.dart';
import 'package:askless/middleware/data/request/ClientConfirmReceiptCli.dart';
import 'package:askless/middleware/data/request/ConfigureConnectionRequestCli.dart';
import 'package:askless/middleware/data/request/OperationRequestCli.dart';
import 'package:askless/middleware/receivements/ClientReceived.dart';
import 'package:askless/middleware/receivements/ClientReceivedIgnore.dart';
import 'package:askless/middleware/receivements/ClientReceivedNewDataForListener.dart';
import 'package:askless/middleware/receivements/ClientReceivedResponse.dart';
import 'package:askless/middleware/receivements/ClientReceivedServerConfirmReceipt.dart';
import 'package:askless/middleware/receivements/ClientReceivedStopListeningEvent.dart';
import 'package:askless/middleware/ws_channel/AbstractIOWsChannel.dart';
import 'package:askless/middleware/ws_channel/IOWsChannel.dart';
import 'package:askless/tasks/ReconnectClientWhenDidNotReceivePongFromServerTask.dart';
import 'package:askless/tasks/ReconnectWhenOffline.dart';
import 'package:askless/tasks/SendMessageToServerAgainTask.dart';
import 'package:askless/tasks/SendPingTask.dart';
import 'package:askless/tasks/TimedTask.dart';