getUmsByPropertyId method

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

Implementation

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