ListItem class abstract

Represents an item in a the user stream list. Header items are prefixed with the key HEADER While users are prefixed with USER.

Implementers

Constructors

ListItem()

Properties

hashCode int
The hash code for this object.
no setterinherited
key String?
Unique key per list item
no setter
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
when({required Widget headerItem(String heading), required Widget userItem(User user)}) Widget
Helper function to build widget based on ListItem type

Operators

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