Serializes this as a JSON object.
this
@override Map<String, Object?> toJson() => { 'pluginOptions': pluginOptions?.toJson(), };