puma_network 3.0.4 puma_network: ^3.0.4 copied to clipboard
Network package for puma
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add puma_network
With Flutter:
$ flutter pub add puma_network
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
puma_network: ^3.0.4
Alternatively, your editor might support dart pub get
or 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/helpers.dart';
import 'package:puma_network/redux/api/apiAction.dart';
import 'package:puma_network/redux/api/apiErrorAction.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/widget/apiButton.dart';