XML to Dart POJO Generator
Generate a starter model from JSON or XML locally.
Generate a starter model from JSON or XML locally.
Attributes and child elements of your sample XML become typed final fields of a null-safe Dart class named after the element, with fromJson and toJson for the equivalent JSON map. Elements that repeat become List fields. <user id="7"><name>Ada</name></user> produces class User with final int id; and final String name;.