xml_serializable 2.5.2 copy "xml_serializable: ^2.5.2" to clipboard
xml_serializable: ^2.5.2 copied to clipboard

Automatically generate code for converting to and from XML by annotating Dart classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add xml_serializable

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  xml_serializable: ^2.5.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:xml_serializable/xml_serializable.dart';
7
likes
140
pub points
78%
popularity

Publisher

verified publisherthomasclark.dev

Automatically generate code for converting to and from XML by annotating Dart classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, build_config, recase, source_gen, source_helper, xml, xml_annotation

More

Packages that depend on xml_serializable