toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  return {
    'serializerSuffix': serializerSuffix,
    'graphqlTypeSuffix': graphqlTypeSuffix,
    'unionKeySuffix': unionKeySuffix,
    'graphQLFieldSuffix': graphQLFieldSuffix,
    'nullableFields': nullableFields,
    'omitFields': omitFields,
    'customTypes': customTypes,
    'omitPrivateFields': omitPrivateFields,
    'omitFieldsNamed': omitFieldsNamed,
    'instantiateCode': instantiateCode,
    'enumValuesCase': enumValuesCase?.toString().split('.').last,
  };
}