Skip to content

toDouble() no longer valid, use parse.double('123') instead#1

Open
tkreuder wants to merge 2 commits intomasterfrom
bugfix/toDouble_no_longer_valid
Open

toDouble() no longer valid, use parse.double('123') instead#1
tkreuder wants to merge 2 commits intomasterfrom
bugfix/toDouble_no_longer_valid

Conversation

@tkreuder
Copy link
Owner

Hi,

compiling dart code that was generated from a json, containing double values, does not work anymore, when fooBar.toDouble() is used. Instead parse.double(fooBar) should be used.

See: https://dartpad.dev/?id=57f6b4a8bd06b184c60e20fc1f2dcfcd&null_safety=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant