appstrax_services 0.1.0 appstrax_services: ^0.1.0 copied to clipboard
A library to integrate with Appstrax Services, an authentication, database and file storage service.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add appstrax_services
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
appstrax_services: ^0.1.0
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:appstrax_services/auth.dart';
import 'package:appstrax_services/auth/models/auth_dtos.dart';
import 'package:appstrax_services/auth/models/auth_result.dart';
import 'package:appstrax_services/auth/models/find_result.dart';
import 'package:appstrax_services/auth/models/find_result.g.dart';
import 'package:appstrax_services/auth/models/message.dart';
import 'package:appstrax_services/auth/models/message.g.dart';
import 'package:appstrax_services/auth/models/tokens.dart';
import 'package:appstrax_services/auth/models/tokens.g.dart';
import 'package:appstrax_services/auth/models/user.dart';
import 'package:appstrax_services/auth/models/user.g.dart';
import 'package:appstrax_services/auth/services/appstrax_auth.dart';
import 'package:appstrax_services/auth/services/appstrax_users.dart';
import 'package:appstrax_services/database.dart';
import 'package:appstrax_services/database/models/document_dto.dart';
import 'package:appstrax_services/database/models/document_dto.g.dart';
import 'package:appstrax_services/database/models/find_result_dto.dart';
import 'package:appstrax_services/database/services/appstrax_database.dart';
import 'package:appstrax_services/database/services/crud.service.dart';
import 'package:appstrax_services/initialize.dart';
import 'package:appstrax_services/shared/config.dart';
import 'package:appstrax_services/shared/http/http.dart';
import 'package:appstrax_services/shared/http/multipart_request.dart';
import 'package:appstrax_services/shared/models/http_exception.dart';
import 'package:appstrax_services/shared/models/model.dart';
import 'package:appstrax_services/shared/models/query.dart';
import 'package:appstrax_services/shared/preferences/preferences_service.dart';
import 'package:appstrax_services/shared/utils.dart';
import 'package:appstrax_services/storage.dart';
import 'package:appstrax_services/storage/models/response.dart';
import 'package:appstrax_services/storage/services/appstrax_storage.dart';