DmxField constructor

const DmxField(
  1. String name, {
  2. required String type,
  3. required String typeNonNull,
  4. required bool nullable,
  5. String? defaultValue,
  6. List<DmxAnnotation> annotations = const [],
})

Builds a field view.

Implementation

const DmxField(
  this.name, {
  required this.type,
  required this.typeNonNull,
  required this.nullable,
  this.defaultValue,
  this.annotations = const [],
});