getDefaultInstrument method
Implementation
@override
Future<Instrument?> getDefaultInstrument(List<Instrument> instruments) async {
for (final instrument in instruments) {
final fetchedInstrument = await getInstrumentDetails(instrument.id);
if (fetchedInstrument.isDefault!) return fetchedInstrument;
}
return null;
}