OpAttributes constructor

OpAttributes({
  1. String? background,
  2. String? color,
  3. String? font,
  4. String? size,
  5. String? width,
  6. String? link,
  7. String? lineHeight,
  8. bool? bold,
  9. bool? italic,
  10. bool? underline,
  11. bool? strike,
  12. ScriptType? script,
  13. bool? code,
  14. ListType? list,
  15. bool? blockquote,
  16. num? header,
  17. AlignType? align,
  18. DirectionType? direction,
  19. num? indent,
  20. String? table,
  21. bool? mentions,
  22. Mention? mention,
  23. String? target,
  24. String? rel,
  25. bool? renderAsBlock,
})

Implementation

OpAttributes({
  String? background,
  String? color,
  String? font,
  String? size,
  String? width,
  String? link,
  String? lineHeight,
  bool? bold,
  bool? italic,
  bool? underline,
  bool? strike,
  ScriptType? script,
  bool? code,
  ListType? list,
  bool? blockquote,
  num? header,
  AlignType? align,
  DirectionType? direction,
  num? indent,
  String? table,
  bool? mentions,
  Mention? mention,
  String? target,
  String? rel,
  bool? renderAsBlock,
}) {
  this.background = background;
  this.color = color;
  this.font = font;
  this.size = size;
  this.width = width;
  this.link = link;
  this.bold = bold;
  this.italic = italic;
  this.underline = underline;
  this.strike = strike;
  this.script = script;
  this.code = code;
  this.list = list;
  this.blockquote = blockquote;
  this.lineHeight = lineHeight;
  this.header = header;
  this.align = align;
  this.direction = direction;
  this.indent = indent;
  this.table = table;
  this.mentions = mentions;
  this.mention = mention;
  this.target = target;
  this.rel = rel;
  this.renderAsBlock = renderAsBlock;
}