LocationMessage.from constructor
To create a new LocationMessage with latitude
and longitude
.
Implementation
LocationMessage.from({
required double latitude,
required double longitude,
}) {
_locationMap = {
'latitude': latitude,
'longitude': longitude,
};
}