setDeadline abstract method

Future<void> setDeadline(
  1. String token,
  2. PlanDeadline deadline
)

Sets the given deadline in the plan of the user associated with the given token.

If a deadline with the same ID already exists, it will be replaced.

Implementation

Future<void> setDeadline(String token, PlanDeadline deadline);