toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (shardCount != null) 'shardCount': shardCount!,
      if (shardIndex != null) 'shardIndex': shardIndex!,
      if (textOffset != null) 'textOffset': textOffset!,
    };