isEnrolled abstract method Null safety

bool isEnrolled(
  1. String username
)

Tells whether a given user is enrolled or not.

Params:

  • username: the username

Returns: true if the user is enrolled, and false otherwise.

Implementation

bool isEnrolled(String username);