toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  "start": start == null ? null : start,
  "startIndex": startIndex == null ? null : startIndex,
  "end": end == null ? null : end,
  "endIndex": endIndex == null ? null : endIndex,
  "anchor": anchor == null ? null : anchor,
  "entries": entries == null ? null : List<dynamic>.from(entries!.map((x) => x.toMap())),
};