fake_store_package 0.0.4
fake_store_package: ^0.0.4 copied to clipboard
Paquete de flutter para realizar consultas simples a la FakeStore API
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fake_store_packageThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
fake_store_package: ^0.0.4Alternatively, 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:fake_store_package/API/fakestore_api.dart';
import 'package:fake_store_package/Models/Category.dart';
import 'package:fake_store_package/Models/Product.dart';
import 'package:fake_store_package/Models/ProductRating.dart';
import 'package:fake_store_package/Models/User.dart';
import 'package:fake_store_package/main.dart';