generator/helpers library

Extensions

ExtensionsOnIterable on Iterable<T>
Merge multiple values from an iterable given a predicate without modifying the original iterable.

Properties

dartKeywords List<String>
a list of dart lang keywords
getter/setter pair

Functions

hasValue(Object? obj) bool
Check if obj has value (isn't null or empty).
logFn(Context context, int align, Object logObject) → void
Logger function
normalizeName(String name) String
normalizes name _variable => $variable __typename => $$typename new -> kw$new
proceedDeprecated(List<DirectiveNode>? directives) List<String>
Proceeds deprecated annotation

Typedefs

IterableFunction<T, U> = U Function(T i)
MergeableFunction<T> = T Function(T oldT, T newT)