getMetodoMuestreoByEspecieExpedienteId method

Future<Map<String, dynamic>?> getMetodoMuestreoByEspecieExpedienteId(
  1. String especieExpedienteId
)

Implementation

Future<Map<String, dynamic>?> getMetodoMuestreoByEspecieExpedienteId(
    String especieExpedienteId) async {
  final db = await database;
  final result = await db.query(
    'metodo_muestreo_especie',
    where: 'especie_expediente_id = ?',
    whereArgs: [especieExpedienteId],
  );
  return result.isNotEmpty ? result.first : null;
}