DVGraphQLField constructor

const DVGraphQLField(
  1. String name,
  2. String type, {
  3. Map<String, String> args = const <String, String>{},
  4. FutureOr<Object?> resolve(
    1. Map<String, Object?> args,
    2. Object? parent
    )?,
  5. int? cost,
  6. int? pageSize,
  7. String? policy,
})

Implementation

const DVGraphQLField(
  this.name,
  this.type, {
  this.args = const <String, String>{},
  this.resolve,
  this.cost,
  this.pageSize,
  this.policy,
});