AuthPrincipal constructor
AuthPrincipal({})
Implementation
AuthPrincipal({
required this.id,
this.roles = const <String>[],
Map<String, dynamic>? attributes,
}) : attributes = attributes == null
? const <String, dynamic>{}
: Map<String, dynamic>.from(attributes);