everyAttributes method
Implementation
bool everyAttributes(bool Function(Attributes element) test) =>
whereType<TextInsert>().every((element) {
final attributes = element.attributes;
return attributes != null && test(attributes);
});