puma_network 3.1.4 puma_network: ^3.1.4 copied to clipboard
Network package for puma
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add puma_network
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
puma_network: ^3.1.4
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:puma_network/constants.dart';
import 'package:puma_network/entities/apiError.dart';
import 'package:puma_network/entities/apiError.g.dart';
import 'package:puma_network/entities/endpoint/endpoint.dart';
import 'package:puma_network/entities/endpoint/endpoint.g.dart';
import 'package:puma_network/helpers.dart';
import 'package:puma_network/redux/api/apiAction.dart';
import 'package:puma_network/redux/api/apiErrorAction.dart';
import 'package:puma_network/redux/error/commonError.dart';
import 'package:puma_network/redux/error/commonError.g.dart';
import 'package:puma_network/redux/error/errorReducer.dart';
import 'package:puma_network/redux/error/errorSelector.dart';
import 'package:puma_network/redux/error/errorState.dart';
import 'package:puma_network/redux/error/errorState.g.dart';
import 'package:puma_network/redux/error/errorStream.dart';
import 'package:puma_network/redux/network/networkAction.dart';
import 'package:puma_network/redux/network/networkMiddleware.dart';
import 'package:puma_network/redux/network/networkReducer.dart';
import 'package:puma_network/redux/network/networkState.dart';
import 'package:puma_network/redux/network/networkState.g.dart';
import 'package:puma_network/redux/response/responseAction.dart';
import 'package:puma_network/serializers.dart';
import 'package:puma_network/serializers.g.dart';
import 'package:puma_network/ui/organisms/apiButton2.dart';
import 'package:puma_network/widget/apiButton.dart';