AnalysisException constructor Null safety

AnalysisException(
  1. [String message = 'Exception',
  2. CaughtException? cause]
)

Initialize a newly created exception to have the given message and cause.

Implementation

AnalysisException([this.message = 'Exception', this.cause]);