lastError property

Exception? get lastError

Implementation

Exception? get lastError => _errors.isNotEmpty ? _errors.last : null;