RecordExtension constructor

const RecordExtension({
  1. required int size,
  2. String? documentation,
})

Specifies that size record extensions should be generated using the annotated element as a template.

If documentation is the non-null it is insert above every generated element as a documentation comment.

Implementation

const RecordExtension({
  required this.size,
  this.documentation
});