data_parser 0.0.4+1
data_parser: ^0.0.4+1 copied to clipboard
A Flutter package for parsing and converting various data types, including JSON, HTTP responses, files, and common Flutter types like Color, IconData, and TextStyle.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add data_parserWith Flutter:
$ flutter pub add data_parserThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
data_parser: ^0.0.4+1Alternatively, 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:data_parser/data_parser.dart';