xml_serializable 2.5.4 copy "xml_serializable: ^2.5.4" to clipboard
xml_serializable: ^2.5.4 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.4

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';
9
likes
150
points
18.1k
downloads

Publisher

verified publisherthomasclark.dev

Weekly Downloads

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

Repository (GitHub)

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