toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() => super.toJson()
  ..addAll({
    'children': children.map((e) => e.toJson()).toList(growable: false),
    'optionsDiff': optionsDiff.toString(),
  });