nxfit_sdk 0.0.4
nxfit_sdk: ^0.0.4 copied to clipboard
The NxFit SDK for Flutter provides access to the NxFit REST API to retrieve user health data from the server. The SDK provides *clients*, which contain convenience methods to make HTTP calls to the Nx [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nxfit_sdkWith Flutter:
$ flutter pub add nxfit_sdkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
nxfit_sdk: ^0.0.4Alternatively, 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:nxfit_sdk/clients.dart';
import 'package:nxfit_sdk/core.dart';
import 'package:nxfit_sdk/managers.dart';
import 'package:nxfit_sdk/models.dart';
import 'package:nxfit_sdk/repositories.dart';