Fixed constructor argument and generated result check.
Fixed constructor argument and generated result check.

financeCoding/discovery_api_dart_client_generator,close2/discoveryapis_generator,financeCoding/discovery_api_dart_client_generator,close2/discoveryapis_generator