getLocations method
Implementation
@override
Future<List<LocationPoint>> getLocations({int? limit}) async {
final List<dynamic>? result = await methodChannel.invokeMethod('getLocations', {'limit': limit});
if (result == null) return [];
return result.map((e) => LocationPoint.fromJson(Map<String, dynamic>.from(e))).toList();
}