Graphql constructor
const
Graphql({})
Creates a new Graphql instance.
Only required when the default behavior is not desired.
Implementation
const Graphql({
this.defaultValue,
bool? enumAsString,
this.fromGenerator,
bool? ignore,
bool? ignoreFrom,
bool? ignoreTo,
this.name,
bool? nullable,
this.subfields,
this.toGenerator,
}) : enumAsString = enumAsString ?? false,
ignore = ignore ?? false,
ignoreFrom = ignoreFrom ?? false,
ignoreTo = ignoreTo ?? false,
nullable = nullable ?? false;