elementSize property

int elementSize

The number of bytes a single element of T is wide.

This is basically the same as sizeOf<T>().

Implementation

int get elementSize => _StaticallyTypedSizeOf.staticSizeOf<T>();