toMap method
Implementation
Map<String, dynamic> toMap() {
final result = <String, dynamic>{};
result.addAll(
{'pauseLocationUpdatesAutomatically': pauseLocationUpdatesAutomatically},
);
result.addAll(
{
'activityType': activityType.toString(),
},
);
result.addAll(
{
'showBackgroundLocationIndicator': showBackgroundLocationIndicator,
},
);
return result;
}