propertyDeclaration method

String propertyDeclaration(
  1. String theme
)

Implementation

String propertyDeclaration(String theme) {
  return '@override\n  $className get $name => ${theme.pascalCase}$className();';
}