Closed kaaninel closed 10 months ago
toJson implementation is missing in IntOrString class so while creating a Service json serialization throw an error. As a workaround I'm extending this class and using that instead.
class IntOrStringJSON extends IntOrString { IntOrStringJSON(super.value); Object toJson() => value; }
I'm not sure if this project is still maintained so I didn't create a pull request but I can if @xclud is interested.
Hi. Thanks for the suggestion. Please do the PR.
Please check #6
Merged!
toJson implementation is missing in IntOrString class so while creating a Service json serialization throw an error. As a workaround I'm extending this class and using that instead.
I'm not sure if this project is still maintained so I didn't create a pull request but I can if @xclud is interested.