utils library Null safety
int position, int base, int? length) → int
- Converts an index of a set size to the corresponding index of a collection of another size as if they were circular.
int input, int? source) → int
Returns the remainder of the modulo operation
source, and adjust it for negative values.