whereClassifiedByProfile method
Iterable<N>
whereClassifiedByProfile(
- Profile profile,
- Classification classification, {
- bool strict = false,
Find where N classified to related classification depending
animal type of profile.
If strict enabled, the condition of Classification.hyperthermia uses
lower Temperature one.
This method can not be called in ProfileBodyTemperatureRecordListMixin which it provides ProfileBodyTemperatureRecordListMixin.whereClassified for ProfileBodyTemperatureRecordListMixin.profile.
Implementation
Iterable<N> whereClassifiedByProfile(
Profile profile, Classification classification,
{bool strict = false}) {
if (this is ProfileBodyTemperatureRecordListMixin) {
throw new UnsupportedError(
"Profile given list mixin can not use this method");
}
return this
._whereClassifiedByProfile(profile, classification, strict: strict);
}