LocationRequestMessage class
Interactive location request message to request user's location.
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, thetoStringmethod will be overridden to output this instance'sprops.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