AuthUserAttribute class Auth

The key and value for a user attribute.

Annotations
  • @zAmplifySerializable

Constructors

AuthUserAttribute({required AuthUserAttributeKey userAttributeKey, required String value})
The key and value for a user attribute.
const
AuthUserAttribute.fromJson(Map<String, Object?> json)
The key and value for a user attribute.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<Object>
The type's equatable properties.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setter
userAttributeKey AuthUserAttributeKey
final
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited