getAll method
Retrieve all stored templates.
Implementation
@override
Future<List<FaceTemplate>> getAll() async {
final index = await _readIndex();
final templates = <FaceTemplate>[];
for (final id in index) {
final template = await get(id);
if (template != null) {
templates.add(template);
}
}
return templates;
}