Config constructor
const
Config({})
Implementation
const Config({
String? serializerSuffix,
String? graphqlTypeSuffix,
String? unionKeySuffix,
String? graphQLFieldSuffix,
bool? nullableFields,
bool? omitFields,
bool? omitPrivateFields,
List<String>? omitFieldsNamed,
this.instantiateCode,
required this.customTypes,
this.enumValuesCase,
}) : serializerSuffix = serializerSuffix ?? 'Serializer',
graphqlTypeSuffix = graphqlTypeSuffix ?? 'GraphQLType',
unionKeySuffix = unionKeySuffix ?? 'Discriminant',
graphQLFieldSuffix = graphQLFieldSuffix ?? 'GraphQLField',
nullableFields = nullableFields ?? false,
omitFields = omitFields ?? false,
omitPrivateFields = omitPrivateFields ?? true,
omitFieldsNamed = omitFieldsNamed ??
const ['toJson', 'toString', 'compareTo', 'toMap'];