Skip to content

Instantly share code, notes, and snippets.

@chamithchathuka
Created July 21, 2021 06:59
Show Gist options
  • Save chamithchathuka/7ea1d187efa2c1ac1e78a2773920be6f to your computer and use it in GitHub Desktop.
Save chamithchathuka/7ea1d187efa2c1ac1e78a2773920be6f to your computer and use it in GitHub Desktop.
void main() {
List<String> aListOfStrings = ['one', 'two', 'three'];
List<String> aNullableListOfStrings;
List<String> aListOfNullableStrings = ['one', null, 'three'];
print('aListOfStrings is $aListOfStrings.');
print('aNullableListOfStrings is $aNullableListOfStrings.');
print('aListOfNullableStrings is $aListOfNullableStrings.');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment