sum_types_generator library

Classes

SumTypesGenerator

Functions

dumpToRecord(SumTypeSpec spec) → String
exhaustiveSwitch({SumTypeSpec spec, bool implement}) → String
generateSumType(SumTypeSpec spec) → String
inexhaustiveSwitch({SumTypeSpec spec, bool implement}) → String
invariant(Iterable<CaseSpec> cases, {String obj: ""}) → String
loadFromRecord(SumTypeSpec spec) → String
sumTypesBuilder(BuilderOptions options) Builder