ai_app_core 0.0.1
ai_app_core: ^0.0.1 copied to clipboard
AI Assets Core package for tablet and mobile app.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ai_app_coreThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ai_app_core: ^0.0.1Alternatively, 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:ai_app_core/constants/exception_constants.dart';
import 'package:ai_app_core/errors/exceptions/api_exception.dart';
import 'package:ai_app_core/errors/exceptions/bad_request_exception.dart';
import 'package:ai_app_core/errors/exceptions/base_exception.dart';
import 'package:ai_app_core/errors/exceptions/cache_exception.dart';
import 'package:ai_app_core/errors/exceptions/fetch_data_exception.dart';
import 'package:ai_app_core/errors/exceptions/not_found_exception.dart';
import 'package:ai_app_core/errors/exceptions/server_exception.dart';
import 'package:ai_app_core/errors/exceptions/unauthorized_exception.dart';
import 'package:ai_app_core/errors/exceptions/unknown_server_exception.dart';
import 'package:ai_app_core/errors/exceptions/unprocessable_entity_exception.dart';
import 'package:ai_app_core/errors/failures/cache_failure.dart';
import 'package:ai_app_core/errors/failures/failure.dart';
import 'package:ai_app_core/errors/failures/object_not_found_failure.dart';
import 'package:ai_app_core/errors/failures/server_failure.dart';
import 'package:ai_app_core/errors/failures/socket_failure.dart';
import 'package:ai_app_core/errors/failures/timeout_failure.dart';
import 'package:ai_app_core/errors/failures/unknown_failure.dart';
import 'package:ai_app_core/errors/failures/validation_failure.dart';
import 'package:ai_app_core/extensions/cognito_user_session_extension.dart';
import 'package:ai_app_core/extensions/datetime_extensions.dart';
import 'package:ai_app_core/extensions/exception_extensions.dart';
import 'package:ai_app_core/extensions/response_extensions.dart';
import 'package:ai_app_core/extensions/string_extensions.dart';
import 'package:ai_app_core/usecases/non_params.dart';
import 'package:ai_app_core/usecases/usecase.dart';
import 'package:ai_app_core/utils/constant/constant.dart';
import 'package:ai_app_core/utils/values/colors.dart';
import 'package:ai_app_core/utils/values/strings.dart';