I\'m new to flutter dev and trying to convert a model to a json string to pass to an api call.
when i try use the RegistrationRequest.ToJson function I get this error