SdlFieldDef constructor

const SdlFieldDef({
  1. required SdlScalarType type,
  2. bool primary = false,
  3. bool required = false,
  4. bool unique = false,
  5. Object? defaultValue,
  6. List<String>? values,
  7. bool auto = false,
})

Implementation

const SdlFieldDef({
  required this.type,
  this.primary = false,
  this.required = false,
  this.unique = false,
  this.defaultValue,
  this.values,
  this.auto = false,
});