element property
dynamic
element
final
If null
, expects InvalidGenerationSourceError.element
to match the
element annotated with ShouldThrow.
If a String, expects InvalidGenerationSourceError.element
to match an
element with the corresponding name.
If true
, InvalidGenerationSourceError.element
is expected to be
non-null.
If false
, InvalidGenerationSourceError.element
is not checked.
Implementation
final dynamic element;