toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endIndex != null) 'endIndex': endIndex!,
      if (factIndexes != null) 'factIndexes': factIndexes!,
      if (score != null) 'score': score!,
      if (startIndex != null) 'startIndex': startIndex!,
    };