userId property

String? get userId

Get current user ID

Implementation

String? get userId {
  return user?['id']?.toString();
}