Person class Null safety

Details of a person e.g. someone who sent a message.

Constructors

Person({bool bot = false, AndroidIcon? icon, bool important = false, String? key, String? name, String? uri})
Constructs an instance of Person.
const

Properties

bot bool
Whether or not this person represents a machine rather than a human.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
icon → AndroidIcon?
Icon for this person.
final
important bool
Whether or not this is an important person.
final
key String?
Unique identifier for this person.
final
name String?
Name of this person.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uri String?
Uri for this person.
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

Operators

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