toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (childIndex != null) 'childIndex': childIndex!,
      if (type != null) 'type': type!,
      if (variable != null) 'variable': variable!,
    };