xml_serializer 0.1.1
xml_serializer: ^0.1.1 copied to clipboard
A build_runner code generator that emits XML (de)serialization logic for Dart classes annotated with xml_annotator. The build-time companion package.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add xml_serializerWith Flutter:
$ flutter pub add xml_serializerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
xml_serializer: ^0.1.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:xml_serializer/xml_serializer.dart';