ethanblake4 / dart_eval

Extensible Dart interpreter for Dart with full interop
https://pub.dev/packages/dart_eval
BSD 3-Clause "New" or "Revised" License
334 stars 40 forks source link

Multiple ( ? ) null check operator in nested optional object - not work. #202

Open leefordjudes opened 7 months ago

leefordjudes commented 7 months ago

This code is working print( 'pincode2: ${data.partyInfo?.address != null ? data.partyInfo!.address?.pincode : ''}');

but this code not work print('pincode3: ${data.partyInfo?.address?.pincode}');

image

Kindly resolve it.