Returns the first n elements of the list if it is success or null
Iterable<T>? takeOrNull(int i) => match(onError: (l) => null, onSuccess: (r) => r.take(i));