ReportPage constructor

const ReportPage({
  1. required String name,
  2. @Default.new([]) List<ReportRow> rows,
  3. @Default.new([]) List<ReportHeader> headers,
})

Implementation

const factory ReportPage({
  /// [name] is the name of the report page.
  required String name,

  /// [rows] is the rows inside of the report
  @Default([]) List<ReportRow> rows,

  /// [headers] is the headers of the report
  @Default([]) List<ReportHeader> headers,
}) = _ReportPage;