ErrorLocation constructor

const ErrorLocation(
  1. {@required int line,
  2. @required int column}
)

Implementation

const ErrorLocation({
  @required this.line,
  @required this.column,
})  : assert(line != null),
      assert(column != null);