json_response 2.3.2
json_response: ^2.3.2 copied to clipboard
A most easily usable JSON response wrapper library in Dart. With JsonResponse, you can easily and safely handle JSON response on your application.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add json_responseWith Flutter:
$ flutter pub add json_responseThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
json_response: ^2.3.2Alternatively, 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:json_response/json_response.dart';