http_simulator 0.0.1 http_simulator: ^0.0.1 copied to clipboard
it's small library for development pirbose, it will act as backend API
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add http_simulator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
http_simulator: ^0.0.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:http_simulator/HttpSimulator.dart';
import 'package:http_simulator/entity/Badge.dart';
import 'package:http_simulator/entity/BaseEntity.dart';
import 'package:http_simulator/entity/Complaint.dart';
import 'package:http_simulator/entity/Offer.dart';
import 'package:http_simulator/entity/Task.dart';
import 'package:http_simulator/entity/User.dart';
import 'package:http_simulator/repository/BadgeRepository.dart';
import 'package:http_simulator/repository/BaseRepository.dart';
import 'package:http_simulator/repository/ComplaintRepository.dart';
import 'package:http_simulator/repository/OfferRepository.dart';
import 'package:http_simulator/repository/RepositoryFacroty.dart';
import 'package:http_simulator/repository/TaskRepository.dart';
import 'package:http_simulator/repository/UserRepository.dart';
import 'package:http_simulator/service/BadgeService.dart';
import 'package:http_simulator/service/ComplaintService.dart';
import 'package:http_simulator/service/OfferService.dart';
import 'package:http_simulator/service/ServiceFactory.dart';
import 'package:http_simulator/service/TaskService.dart';
import 'package:http_simulator/service/UserService.dart';
import 'package:http_simulator/utils/SequenceUtil.dart';
import 'package:http_simulator/web/BadgeRestController.dart';
import 'package:http_simulator/web/ComplaintRestController.dart';
import 'package:http_simulator/web/OfferRestController.dart';
import 'package:http_simulator/web/TaskRestController.dart';
import 'package:http_simulator/web/UserRestController.dart';