Returns this as a serializable JSON value.
@override Map<String, Object?> toJson() => {'runtimeType': 'EventPathItemString', '0': value};