TemplateData constructor

TemplateData({
  1. List<Map<String, dynamic>>? body = const [],
  2. List<Map<String, dynamic>>? footer = const [],
  3. List<Map<String, dynamic>>? header = const [],
  4. required String name,
  5. required String organization,
  6. required String type,
})

Returns a new TemplateData instance.

Implementation

TemplateData({
  this.body = const [],
  this.footer = const [],
  this.header = const [],
  required this.name,
  required this.organization,
  required this.type,
});