JsonMarkdownDecoder class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
decodeBlockSyntax(dynamic map, {bool validate = true})
→ BlockSyntax?
-
Expects the
map
to be either a md.BlockSyntax
or a String
containing one of the following values:
-
decodeBlockSyntaxList(dynamic map, {bool validate = true})
→ List<BlockSyntax>?
-
-
decodeExtensionSet(dynamic map, {bool validate = false})
→ ExtensionSet?
-
Expects the
map
to be either a md.ExtensionSet
or a String
containing one of the following values:
-
decodeInlineSyntax(dynamic map, {bool validate = true})
→ InlineSyntax?
-
Expects the
map
to be either a md.InlineSyntax
or a JSON object with a
type
matching one of:
-
decodeInlineSyntaxList(dynamic map, {bool validate = true})
→ List<InlineSyntax>?
-
-
decodeMarkdownListItemCrossAxisAlignment(dynamic map, {bool validate = true})
→ MarkdownListItemCrossAxisAlignment?
-
Expects the
map
to be either a MarkdownListItemCrossAxisAlignment
or a
String containing one of the following values:
-
decodeMarkdownStyleSheet(dynamic map, {bool validate = true})
→ MarkdownStyleSheet?
-
Decodes the object from a Map-like dynamic structure. This expects the
JSON format to be of the following structure:
-
decodeMarkdownStyleSheetBaseTheme(dynamic map, {bool validate = true})
→ MarkdownStyleSheetBaseTheme?
-
Expects the
map
to be either a MarkdownStyleSheetBaseTheme
or a
String containing one of the following values: