NiceAllocation class

An allocation assigned to a resource.

Constructors

NiceAllocation({required String id, required String resourceId, required String title, required DateTime start, required DateTime end, double? hours, NiceAllocationPriority priority = NiceAllocationPriority.normal, NiceAllocationStatus status = NiceAllocationStatus.planned, String? project, Color? color})
const

Properties

color → Color?
final
end → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
hours → double?
final
id → String
final
priority → NiceAllocationPriority
final
project → String?
final
resourceId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → DateTime
final
status → NiceAllocationStatus
final
title → String
final

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