ListUserItem class Null safety

User Item

Inheritance

Constructors

ListUserItem(User user)
Constructs a new ListUserItem

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
key String?
Unique key per list item
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
user User
User used to build the item.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
when({required Widget headerItem(String heading), required Widget userItem(User user)}) Widget
Helper function to build widget based on ListItem type
inherited

Operators

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