EntityAdapted constructor
const
EntityAdapted({
- Type rootEntityType = Object,
- bool useDefaultsProvider = true,
- bool includeFieldsByDefault = true,
- String? prefix = 'G',
- String packageName = '',
- bool createDefaultsProviderBaseClass = false,
- bool createValidatableBaseClass = false,
- bool createBuilderBaseClass = false,
- TimePrecision? dateTimePrecision = TimePrecision.microseconds,
- TimePrecision? durationPrecision = TimePrecision.milliseconds,
- DateTimeRepresentation? dateTimeRepresentation = DateTimeRepresentation.iso8601String,
- bool? useProtoFieldNamingConventions = true,
- List<
Type> ? knownSubClasses, - bool allowMissingFields = false,
- 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,
});