GraphQLError constructor Null safety

const GraphQLError(
  1. {required String message,
  2. List<ErrorLocation>? locations,
  3. List? path,
  4. Map<String, dynamic>? extensions}
)

Implementation

const GraphQLError({
  required this.message,
  this.locations,
  this.path,
  this.extensions,
});