Type constructor

Type({
  1. required String name,
  2. required String aliasOfName,
  3. Type? arrayOf,
  4. Type? optionalOf,
  5. Type? extensionOf,
  6. required String baseName,
  7. Type? base,
  8. required List<Field> fields,
  9. Function? serialize,
  10. Function? deserialize,
})

Implementation

Type({
  required this.name,
  required this.aliasOfName,
  this.arrayOf,
  this.optionalOf,
  this.extensionOf,
  required this.baseName,
  this.base,
  required this.fields,
  this.serialize,
  this.deserialize,
});