methodTemplate property

String? methodTemplate
final

Custom method template using Mustache syntax.

Available variables:

  • {{returnType}}: Full return type
  • {{methodName}}: Method name
  • {{parameters}}: Parameter signature
  • {{arguments}}: Call-site arguments
  • {{#hasRefreshes}}: Conditional block for refresh logic
  • {{#refreshTypes}}: Loop over refresh types
  • {{vars.wrapper}}: Custom wrapper variable
  • {{vars.refresh}}: Custom refresh variable
  • {{vars.*}}: Any custom variable

Implementation

final String? methodTemplate;