toDeclarationStrings method

String toDeclarationStrings(
  1. String className
)

Implementation

String toDeclarationStrings(String className) {
  return where((e) => e.name != null).map((e) => e.toDeclaration(className)).join('\n').trim();
}