MasonBundle constructor

const MasonBundle({
  1. required String name,
  2. required String description,
  3. required String version,
  4. BrickEnvironment environment = const BrickEnvironment(),
  5. Map<String, BrickVariableProperties> vars = const <String, BrickVariableProperties>{},
  6. List<MasonBundledFile> files = const [],
  7. List<MasonBundledFile> hooks = const [],
  8. String? repository,
  9. String? publishTo,
  10. MasonBundledFile? readme,
  11. MasonBundledFile? changelog,
  12. MasonBundledFile? license,
})

A bundled version of a mason template.

Implementation

const MasonBundle({
  required this.name,
  required this.description,
  required this.version,
  this.environment = const BrickEnvironment(),
  this.vars = const <String, BrickVariableProperties>{},
  this.files = const [],
  this.hooks = const [],
  this.repository,
  this.publishTo,
  this.readme,
  this.changelog,
  this.license,
});