Block class
A model representing a block within a hospital.
This class holds details about a specific block, such as its ID, name, description, and the ID of the hospital it belongs to.
Constructors
Properties
- description → String?
-
An optional description of the block.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hospitalId → int
-
The ID of the hospital this block belongs to.
final
- id → int
-
The unique identifier of the block.
final
- name → String
-
The name of the block.
final
- 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(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited