isDestructiveAction property

bool isDestructiveAction
final

Whether this action destroys an object.

For example, an action that deletes an email is destructive.

Defaults to false and cannot be null.

Implementation

final bool isDestructiveAction;