isAdmin property

bool get isAdmin

Implementation

bool get isAdmin => type == UserType.admin;