AuditableModel class
Represents a generic data model with audit log feature.
Constructors
Properties
- createdAt ↔ DateTime?
-
The time at which this item was created.
getter/setter pairinherited
- createdBy ↔ String?
-
The authorized user who created the record.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
A unique identifier corresponding to this item.
getter/setter pairinherited
- idAsInt → int
-
Returns the id, parsed as an int.
no setterinherited
- idAsString → String
-
Returns the id or "" if null.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt ↔ DateTime?
-
The last time at which this item was updated.
getter/setter pairinherited
- updatedBy ↔ String?
-
The user who updated the record last time.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited