JsonKey constructor

const JsonKey({
  1. String? name,
  2. bool ignore = false,
  3. dynamic defaultValue,
  4. String? converter,
  5. bool useEnumIndex = false,
  6. bool requiredKey = false,
  7. String? unknownEnumValue,
})

Implementation

const JsonKey({
  this.name,
  this.ignore = false,
  this.defaultValue,
  this.converter,
  this.useEnumIndex = false,
  this.requiredKey = false,
  this.unknownEnumValue,
});