MfmFn class

Misskey Style Function Node

$[position.x=3 something] will be MfmFn(name: position, arg: {"x": "3"}, children: MfmText(something))

Inheritance

Constructors

MfmFn({required String name, required Map<String, dynamic> args, List<MfmNode>? children})

Properties

args Map<String, dynamic>
final
children List<MfmNode>?
if node has child, will be array.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
final
props Map<String, dynamic>?
elements property. it is compatible for typescript one.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
node type.
finalinherited

Methods

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