findById method
Busca por id.
Implementation
@override
Future<Map<String, Object?>?> findById(String table, Object id) async {
for (final r in await _readAll(table)) {
if ('${r['id']}' == '$id') return r;
}
return null;
}
Busca por id.
@override
Future<Map<String, Object?>?> findById(String table, Object id) async {
for (final r in await _readAll(table)) {
if ('${r['id']}' == '$id') return r;
}
return null;
}