User class

A row of the conformance users table.

Constructors

User({required String name, required String favoriteGame, required int age, String? nickname, int? id})
Creates a user row.

Properties

age int
The user's age.
final
favoriteGame String
The user's favorite game.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The auto-incremented primary key, null until inserted.
final
name String
The user's name.
final
nickname String?
The user's nickname, if any.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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