PublicForwardMessage class final

Contains a public forward as a message

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

PublicForwardMessage({Message? message})

Properties

hashCode → int
The hash code for this object.
no setteroverride
message → Message?
message Information about the message
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Message? message}) → PublicForwardMessage

Available on PublicForwardMessage, provided by the PublicForwardMessageExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult message(PublicForwardMessage value), required TResult story(PublicForwardStory value)}) → TResult

Available on PublicForward, provided by the PublicForwardExtensions extension

maybeMap<TResult extends Object?>({TResult message(PublicForwardMessage value)?, TResult story(PublicForwardStory value)?, required TResult orElse()}) → TResult

Available on PublicForward, provided by the PublicForwardExtensions extension

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → PublicForwardMessage?
Inherited by: PublicForwardMessage PublicForwardStory
override

Constants

constructor → const String