ExtractLocationMessageParams extension

Provides an extension on LocationMessageParams to convert the location parameters to a map.

This extension adds functionality to the LocationMessageParams class, allowing the location parameters to be easily converted into a map. This is particularly useful for serialization or when interfacing with APIs that require data in map form.

on

Methods

toMap() Map<String, dynamic>
Converts a LocationMessageParams object into a map.