getBatchLocation method
Implementation
Future<List<LocationDataModel>> getBatchLocation(int limit) async {
final db = await database;
final maps = await db.query('locations', limit: limit, orderBy: 'id ASC');
return maps.map(_rowToLocation).toList();
}