userName property Null safety

String? userName

Implementation

String? get userName =>
    claims["preferred_username"]?.toString() ?? claims["sub"]?.toString();