splitAt method

  1. @override
(MMap<K, V>, MMap<K, V>) splitAt(
  1. int n
)
override

Returns two collections: the first n elements and the remainder.

Implementation

@override
(MMap<K, V>, MMap<K, V>) splitAt(int n) {
  final (first, second) = super.splitAt(n);
  return (MMap.from(first), MMap.from(second));
}