Error constructor

const Error({
  1. @Default([]) List<Location> locations,
  2. String? message,
  3. @Default([]) List<String> path,
})

Implementation

const factory Error({
  @Default([]) final List<Location> locations,
  String? message,
  @Default([]) final List<String> path,
}) = _Error;