SheetRow<T> constructor
Implementation
const SheetRow({
this.key,
int? start,
this.frames,
this.fps,
this.loop,
}) : assert(start == null || start >= 0, 'A row starts at column 0 or later.'),
assert(frames == null || frames >= 1, 'A row plays at least one frame.'),
assert(
fps == null || (fps >= 0 && fps < double.infinity),
'A rate is finite and not negative.',
),
start = start ?? 0,
durations = null;