toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (formattedScore != null) 'formattedScore': formattedScore!,
      if (kind != null) 'kind': kind!,
      if (score != null) 'score': score!,
      if (scoreTag != null) 'scoreTag': scoreTag!,
      if (timeSpan != null) 'timeSpan': timeSpan!,
    };