Use the late keyword to initialize a variable when it is first read, rather than when it’s created . It’s common to use late in combination with final , to defer the creation of read-only variables to when they are first read.
Use the late keyword to initialize a variable when it is first read, rather than when it’s created . It’s common to use late in combination with final , to defer the creation of read-only variables to when they are first read.