toMap method

Map<String, dynamic> toMap()

Converts the ParserOptions instance to a Map.

This method is used for serializing the parser options configuration to JSON or other map-based formats.

Returns:

  • Map containing all parser options configuration data

Implementation

Map<String, dynamic> toMap() {
  return {
    'http': http?.toMap(),
    'table': table?.toMap(),
    'sibling': sibling?.toMap(),
    'staticValue': staticValue?.toMap(),
    'stringBetween': stringBetween?.toMap(),
    'urlParam': urlParam?.toMap(),
  };
}