isEditor method

bool isEditor(
  1. User? user
)

Implementation

bool isEditor(User? user) =>
    user != null && collaboratorEmails.contains(user.email);