userName property

String? get userName

Returns the name of the authenticated user (if available).

Implementation

String? get userName => user?['name'] as String?;