LocationRequestMessage class

Interactive location request message to request user's location.

Inheritance
Annotations

Constructors

LocationRequestMessage({required String recipient, required String bodyText})
Creates a new location request message.
const

Properties

bodyText String
Main body text of the message
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
recipient String
Recipient's phone number in international format
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type MessageType
The type of message
finalinherited

Methods

createBaseMessageMap() Map<String, dynamic>
Creates a base message map with common properties.
inherited
isValid() bool
Validates the message content before sending.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the message to a JSON-serializable map.
override
toString() String
A string representation of this object.
inherited

Operators

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