GenField constructor

GenField({
  1. required String name,
  2. required GenFieldKind kind,
  3. required bool isList,
  4. required bool required,
  5. required String description,
  6. required bool deprecated,
  7. List<String> enumValues = const [],
  8. String? referenceModel,
  9. String? fileCollection,
  10. List<GenField> mapFields = const [],
  11. bool hasReadTimeDefault = false,
})

Implementation

GenField({
  required this.name,
  required this.kind,
  required this.isList,
  required this.required,
  required this.description,
  required this.deprecated,
  this.enumValues = const [],
  this.referenceModel,
  this.fileCollection,
  this.mapFields = const [],
  this.hasReadTimeDefault = false,
});