OfType<T extends Attachment> method
Implementation
List<T> OfType<T extends Attachment>() {
return whereType<T>().map((attachment) => attachment).toList();
}
List<T> OfType<T extends Attachment>() {
return whereType<T>().map((attachment) => attachment).toList();
}