hasAlwaysThrows property

  1. @override
bool get hasAlwaysThrows
override

Whether the element has an annotation of the form @alwaysThrows.

Implementation

@override
bool get hasAlwaysThrows => metadata.any((ElementAnnotation m) => m.isAlwaysThrows);