fromId method
Return the element with specified id.
Implementation
T fromId(String id) {
return firstWhere((element) => (element as ItemSerializable).id == id);
}
Return the element with specified id.
T fromId(String id) {
return firstWhere((element) => (element as ItemSerializable).id == id);
}