You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python allows kwargs to pass all the possible options to create a ClientOptions object. With flutter, we need to have properties of all such objects (ClientOptions, ChannelOptions, etc) as public and SDK users need to instantiate the class and then set these properties.
Python allows kwargs to pass all the possible options to create a ClientOptions object. With flutter, we need to have properties of all such objects (
ClientOptions
,ChannelOptions
, etc) as public and SDK users need to instantiate the class and then set these properties.So, as per the current implementation:
It would be more intuitive to dart developers if we can consider changing the constructors to use named arguments and make all the fields as private.
With the named arguments approach, the usage would be:
The text was updated successfully, but these errors were encountered: