EntityAdapted constructor

const EntityAdapted({
  1. Type rootEntityType = Object,
  2. bool useDefaultsProvider = true,
  3. bool includeFieldsByDefault = true,
  4. String? prefix = 'G',
  5. String packageName = '',
  6. bool createDefaultsProviderBaseClass = false,
  7. bool createValidatableBaseClass = false,
  8. bool createBuilderBaseClass = false,
  9. TimePrecision? dateTimePrecision = TimePrecision.microseconds,
  10. TimePrecision? durationPrecision = TimePrecision.milliseconds,
  11. DateTimeRepresentation? dateTimeRepresentation = DateTimeRepresentation.iso8601String,
  12. bool? useProtoFieldNamingConventions = true,
  13. List<Type>? knownSubClasses,
  14. bool allowMissingFields = false,
  15. bool mapEnumToString = false,
})

Implementation

const EntityAdapted({
  this.rootEntityType = Object,
  this.useDefaultsProvider = true,
  this.includeFieldsByDefault = true,
  this.prefix = 'G',
  this.packageName = '',
  this.createDefaultsProviderBaseClass = false,
  this.createValidatableBaseClass = false,
  this.createBuilderBaseClass = false,
  this.dateTimePrecision = TimePrecision.microseconds,
  this.durationPrecision = TimePrecision.milliseconds,
  this.dateTimeRepresentation = DateTimeRepresentation.iso8601String,
  this.useProtoFieldNamingConventions = true,
  this.knownSubClasses,
  this.allowMissingFields = false,
  this.mapEnumToString = false,
});