toConstructorDeclarations method

String toConstructorDeclarations()

Implementation

String toConstructorDeclarations() {
  return where((e) => e.name != null)
      .map(
        (e) => e.copyWithConstructorDeclaration(),
      )
      .join(',\n')
      .trim()
      .indented();
}