EntityModel class abstract
The EntityModel
class extends DataModel
and adds additional properties like auditDetails
and clientAuditDetails
.
It is also annotated with MappableClass
to generate mapping code.
- Inheritance
- Mixed-in types
- Implementers
- AddressModel
- AttributesModel
- BoundaryModel
- DocumentModel
- FacilityModel
- IdentifierModel
- IndividualModel
- LocalityModel
- NameModel
- PgrAddressModel
- PgrComplainantModel
- PgrComplainantResponseModel
- PgrComplaintModel
- PgrComplaintResponseModel
- PgrRolesModel
- PgrServiceCreateResponseModel
- PgrServiceModel
- PgrServiceResponseModel
- PgrWorkflowModel
- ProductModel
- ProductVariantModel
- ProjectFacilityModel
- ProjectModel
- ProjectProductVariantModel
- ProjectResourceModel
- ProjectStaffModel
- ProjectTypeModel
- ServiceAttributesModel
- ServiceDefinitionModel
- ServiceModel
- TargetModel
- UserActionModel
- UserModel
- Annotations
-
- @MappableClass(includeSubClasses: [AddressModel, BoundaryModel, LocalityModel])
Constructors
- EntityModel({AuditDetails? auditDetails, ClientAuditDetails? clientAuditDetails, bool? isDeleted = false})
-
const
Properties
- auditDetails → AuditDetails?
-
final
- boundaryCode → String?
-
finalinherited
- clientAuditDetails → ClientAuditDetails?
-
final
-
copyWith
→ EntityModelCopyWith<
EntityModel, EntityModel, EntityModel> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeleted → bool?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited