asExtension property

bool? asExtension
final

will generate the as an extension

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

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;