asExtension property

bool? asExtension
final

will generate the method as an extension

  • true generates as extension method
  • null will depend on the build.yml value
  • false generates as mixin (requires with _$[ClassName]Ts on the class) (default)

If true, suffix will be applied to the name of the extension class

If 'false', type definitions of super classes have to be imported manually

Implementation

final bool? asExtension;