everyAttributes method

bool everyAttributes(
  1. bool test(
    1. Attributes element
    )
)

Implementation

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