Unit class

Constructors

Unit({int id = null, String name = null, DateTime createdAt = null, String createdBy = null, DateTime updatedAt = null, String updatedBy = null, bool deleted = false})

Properties

createdAt DateTime
@Alias('createdAt', isNullable: false), final
createdBy String
@Alias('createdBy', isNullable: false), final
deleted bool
@Alias('deleted', isNullable: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
@Alias('id', isNullable: false), final
name String
@Alias('name', isNullable: false), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime
@Alias('updatedAt', isNullable: false), final
updatedBy String
@Alias('updatedBy', isNullable: false), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited