toJson abstract method

Map<String, dynamic> toJson()

Converts this node to a JSON representation.

The returned map must include at least the 'id' key.

Implementation

Map<String, dynamic> toJson();