duration property

Duration? duration
final

Optional duration for which the error should be displayed.

If null, the error is considered persistent until cleared manually.

Implementation

final Duration? duration;