getCoordenadasByPredio method

Future<List<Map<String, dynamic>>> getCoordenadasByPredio(
  1. String propertyId
)

Implementation

Future<List<Map<String, dynamic>>> getCoordenadasByPredio(
    String propertyId) async {
  final db = await database;
  return await db.query(
    'predio_coordenadas',
    where: 'property_id = ?',
    whereArgs: [propertyId],
    orderBy: 'orden ASC',
  );
}