GenField constructor
GenField({
- required String name,
- required GenFieldKind kind,
- required bool isList,
- required bool required,
- required String description,
- required bool deprecated,
- List<
String> enumValues = const [], - String? referenceModel,
- String? fileCollection,
- List<
GenField> mapFields = const [], - 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,
});