ReferencedMessage class Null safety

Message wrapper that other message replies to. message field can be null of two reasons: backend error or message was deleted. In first case isBackendFetchError will be true and isDeleted in second case.

Implemented types

Properties

exists bool
True if references message exists and is available
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isBackendFetchError bool
If true the backend couldn't fetch the message
final, read / write, late
isDeleted bool
If true message was deleted
final, read / write, late
message Message?
Message object of reply
final, read / write, late
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toBuilder() ReplyBuilder
Returns instance of Builder with current data
override
toString() String
A string representation of this object. [...]
inherited

Operators

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