writeMixinDeclaration abstract method
void
writeMixinDeclaration(})
Writes the code for a declaration of a mixin with the given name
.
If a list of interfaces
is provided, then the mixin will implement those
interfaces. If a membersWriter
is provided, then it will be invoked to
allow members to be generated. If a nameGroupName
is provided, then the
name of the class will be included in the linked edit group with that
name.
Implementation
void writeMixinDeclaration(String name,
{Iterable<DartType>? interfaces,
void Function()? membersWriter,
String? nameGroupName,
Iterable<DartType>? superclassConstraints});