TypePolicy constructor Null safety

TypePolicy(
  1. {Map<String, dynamic>? keyFields,
  2. bool queryType = false,
  3. bool mutationType = false,
  4. bool subscriptionType = false,
  5. Map<String, FieldPolicy> fields = const {}}
)

Implementation

TypePolicy({
  this.keyFields,
  this.queryType = false,
  this.mutationType = false,
  this.subscriptionType = false,
  this.fields = const {},
});