DocType constructor

DocType({
  1. String? autoname,
  2. int? createdAt,
  3. List<DocField> fields = const [],
  4. bool? isSingle,
  5. bool? isSubmittable,
  6. String? module,
  7. String? name,
  8. List<DocPerm> permissions = const [],
  9. String? titleField,
  10. int? updatedAt,
})

Returns a new DocType instance.

Implementation

DocType({
  this.autoname,
  this.createdAt,
  this.fields = const [],
  this.isSingle,
  this.isSubmittable,
  this.module,
  this.name,
  this.permissions = const [],
  this.titleField,
  this.updatedAt,
});