toMap method

Map toMap()

Implementation

Map<dynamic, dynamic> toMap() => <dynamic, dynamic>{
      'id': id,
      'index': index,
      'children': children.map((child) => child.toMap()).toList(),
      'shuffleOrder': shuffleOrder,
    };