toJson method

Map<String, dynamic> toJson()

Implementation

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