toJson method

Map<String, dynamic> toJson({
  1. bool sortByInputDependency = false,
})

Returns a JSON representation of this graph.

Implementation

Map<String, dynamic> toJson({bool sortByInputDependency = false}) =>
    toTree<String>(sortByInputDependency: sortByInputDependency);