role property

String? get role

The current user's role when available.

Implementation

String? get role => user['role']?.toString();