DeadlinesDatasource class abstract

Data source for managing PlanDeadlines.

For retrieving all deadlines, see PlanDatasource as deadlines are part of the CalendarPlan object.

Inheritance
Implementers

Constructors

DeadlinesDatasource()

Properties

errorLevel Level
The level to log error messages at.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
level Level
The level to log messages at.
no setterinherited
name String
The name of the datasource.
no setteroverride
namespace String
The namespace to log messages under. e.g. 'Service.Auth'
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearDeadlines(String token) Future<void>
Clears all deadlines in the plan of the user associated with the given token.
dispose() → void
Disposes controllers, streams, etc.
inherited
log(Object message, [Object? error, StackTrace? stackTrace]) → void
Logs a message with an optional error and stack trace.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeDeadline(String token, int id) Future<void>
Removes the deadline with the given id from the plan of the user associated with the given token.
setDeadline(String token, PlanDeadline deadline) Future<void>
Sets the given deadline in the plan of the user associated with the given token.
toString() String
A string representation of this object.
inherited

Operators

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