common library Null safety

Classes

CodgenConfig
CommonClassModel<FieldModel>
CommonFieldModel<TypeModel>
ImportModel

Constants

quiverPackageUris → const List<String>
['package:quiver/src/core/optional.dart', 'package:quiver/core.dart']

Functions

computeTypeRepr(DartType ty, ImportModel imports) String
eqImpl(String className, List<String> fieldNames) String
fullName(Element element) String
hashCodeImpl(List<String> fieldNames) String
isQuiverOptional(DartType ty, ImportModel imports) bool
isType(DartType ty, String name, String packageUri, ImportModel imports) bool
qualifyType(DartType ty, ImportModel imports) String

Enums

FieldNameConfig

Typedefs

MkField<T> = T Function(FieldElement f, ImportModel imports, CodgenConfig cfg)
MkType<T> = T Function(DartType ty)

Exceptions / Errors

CodegenException