Nullability

NULL (class)

null (singleton object)

int // cannot contain null
int? // includes null

// note nullable types still contain the same methods as their non nullable 
// brothers. But you may need to check to ensure that the variable is not null

dynamic // includes null even without a ?

All ? types are init as null

Null operators

user
  ?..name = 'Ray'
  ..id = 42;

// if user is null then abort

Null operators