GraphQLError constructor

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

Implementation

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