Converter<Doc, Type> class sealed

Converter is a parent that's provides the essential rules for generate and create a document pdf file for that project

Implementers

Constructors

Converter({required Doc document})

Properties

document → Doc
no setter
hashCode int
The hash code for this object.
no setterinherited
rules List<Rule>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

customRules(List<Rule> customRules, {bool clearDefaultRules = false}) → void
This fuction let us add new rules as we wants. We can clear the default rules, or just write our rules. You can check html2md documentation about here: https://github.com/jarontai/html2md
generateDoc() Future<Type>
This functions generates the document
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited