emit method
void
emit(
- StringBuffer buffer, {
- required InspectionCache cache,
- required AppType appType,
override
Emits a Dart source for this entry during interface generation.
Implementation
@override
void emit(
StringBuffer buffer, {
required InspectionCache cache,
required AppType appType,
}) {
buffer.writeln("/// ## $name");
emitDoc(buffer);
emitSource(buffer);
buffer.writeln(
"typedef $sanitizedName = ${_getTypeString(this, cache: cache)};",
);
}