count property Null safety

int? count
@optional, read / write

The number of elements or associations or codeunits returned. This is only provided when it is less than length.

Provided for instance kinds:

  • String
  • List
  • Map
  • Uint8ClampedList
  • Uint8List
  • Uint16List
  • Uint32List
  • Uint64List
  • Int8List
  • Int16List
  • Int32List
  • Int64List
  • Float32List
  • Float64List
  • Int32x4List
  • Float32x4List
  • Float64x2List

Implementation

@optional
int? count;