json_value 0.0.1 json_value: ^0.0.1 copied to clipboard
It's easier to get the value from JSON
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add json_value
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
json_value: ^0.0.1
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:json_value/json_value.dart';