squarealfa_entity_adapter library

Classes

BuildBuilder
Builder<T>
CopyWith
DefaultsProvider
DoubleRange
Annotation that indicates the field to which it is applied to has a range of values between min and max
EntityAdapted
Annotation that instructs several code generators to generate added features to PODO classes.
EntityAdapter<TEntity, TProto>
Acts as a facade to the features that are added to PODOs
EntityPermissions
Defines the CRUD permissions for a PODO
ErrorList
Contains the results of a validation check
Int32
An immutable 32-bit signed integer, in the range -2^31, 2^31 - 1. Arithmetic operations may overflow in order to maintain this range.
Int64
An immutable 64-bit signed integer, in the range -2^63, 2^63 - 1. Arithmetic operations may overflow in order to maintain this range.
IntX
A fixed-precision integer.
ListItemErrorList
Represents the validation errors, errorList, of an object item that is part of a list, list at the index itemIndex
ListPropertyValidation
Validation error applied to properties of List type, composed of multiple errors
MapField
When applied as an annotation to a field, indicates the code generator to map that field.
MapIgnore
When applied as an annotation to a field, indicates to the code generator to ignore that field.
MapMap
Annotate PODO class with MapMap in order to signal the code generator that it is to produce a map mapper for the class to which the annotation was applied.
MapMapper<TEntity>
Converts instances of type TEntity to Map<String, dynamic> and from Map<String, dynamic> to TEntity
MapProto
PropertyValidation
Represents a ValidationError specific to a property that can contain multiple errors
Proto
ProtoField
ProtoIgnore
ProtoMapper<TEntity, TProto>
Range
Annotation that indicates the field to which it is applied to has a range of values between min and max
RangeValidationError
Represents an error indicating that a required value is missing
Required
Annotation that indicates the field to which it is applied to is required
RequiredValidationError
Represents an error indicating that a required value is missing
StringLength
Annotation that indicates the field to which it is applied to has a length that ranges from minLength to maxLength
StringLengthValidationError
Represents an error indicating that a required value is missing
Validatable
Annotation that indicates that the class to which it is applied to is a validatable class
ValidationError
Represents a validation error
Validator
Performs validation on an object

Constants

builder → const BuildBuilder
copyWith → const CopyWith
defaultsProvider → const DefaultsProvider
mapIgnore → const MapIgnore
mapMap → const MapMap
mapProto → const MapProto
proto → const Proto
protoField → const ProtoField
protoIgnore → const ProtoIgnore
required → const Required
validatable → const Validatable