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
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
8
likes
160
points
17.3k
downloads

Publisher

verified publisherthomasclark.dev

Weekly Downloads

2024.09.16 - 2025.03.31

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