generatorDetailsFamily top-level property
final
Family that provides GeneratorDetails based on the given device ID.
Implementation
final generatorDetailsFamily =
Provider.autoDispose.family<AsyncValue<GeneratorDetails>, int>(
(ref, int id) {
return ref
.watch(deviceDetailsApiFamily(id))
.mapValue(dtoToGeneratorDetails);
},
);