Language:

Search

Check If Null in Flutter

  • Share this:
post-title
post-title
var val = '2';

if (val != null) {
  //do_something
}

else{

  //do_something

}

Ammar Javed

Ammar Javed

Still Learning | Still Searching | Still Exploring | The secret of your success is determined by your daily agenda.