User class
- Available extensions
- Annotations
-
- @ModelGen(immutable: true)
Constructors
Properties
- age → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
-
metadata
→ Map<
String, String> -
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scores
→ Set<
int> -
final
-
stats
→ Map<
String, int> -
final
-
final
-
final
Methods
-
copyWith(
{String? id, String? name, int? age, List< String> ? tags, Set<int> ? scores, Map<String, String> ? metadata, Set<String> ? tagsSet, Map<String, int> ? stats}) → User -
Available on User, provided by the UserJsonExtension extension
-
getId(
) → Object? -
Available on User, provided by the UserJsonExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Available on User, provided by the UserJsonExtension extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited