BuildError.forSourceSpan constructor

BuildError.forSourceSpan(
  1. SourceSpan context,
  2. String message
)

Create a build error using the provided source span as context.

Implementation

factory BuildError.forSourceSpan(
  SourceSpan context,
  String message,
) = _SourceSpanBuildError;