toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (children != null) 'children': children!,
  if (next != null) 'next': next!,
  if (parent != null) 'parent': parent!,
  if (previous != null) 'previous': previous!,
};