toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiSignature != null) 'apiSignature': apiSignature!,
      if (exampleStackTraces != null)
        'exampleStackTraces': exampleStackTraces!,
      if (insights != null)
        'insights': insights!.map((value) => value.toJson()).toList(),
      if (invocationCount != null) 'invocationCount': invocationCount!,
      if (list != null) 'list': list!,
    };