FieldMetadata constructor

const FieldMetadata({
  1. required String name,
  2. required Type type,
  3. bool nullable = false,
  4. bool mutable = false,
  5. required List<Validator> validators,
  6. Serializer serializer = fallbackSerializer,
})

Creates a FieldMetadata.

Implementation

const FieldMetadata({
  required this.name,
  required this.type,
  this.nullable = false,
  this.mutable = false,
  required this.validators,
  this.serializer = fallbackSerializer,
});