toJson method

Map<String, dynamic> toJson()

Implementation

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