In this chapter, we will cover the following recipes:
This chapter is about working with the different data types Dart has to offer. The basic data types available are
var (stores any object);
num (stores any number type);
List (arrays); and
Map (associative arrays). All of these data types are declared in the
dart:core library. We will talk about strings, random numbers, ...