dartx_io library

Superpowers for Dart IO. Collection of useful static extension methods.

Classes

CharacterRange
A range of characters of a Characters.
Characters
The characters of a string.
ComparableRange<T extends Comparable<T>>
Represents a range of Comparable values such as String or DateTime
DoubleRange
IntProgression
IntRange
A iterable range between two ints which is iterable with a specific step size
Range<T extends Comparable>
Represents a range of values (for example, numbers or characters) with a fixed start value and a fixed endInclusive value.

Extensions

ComparableRangeX on T
ComparableX on T
Provides comparison operators for Comparable types.
CompararatorX on Comparator<T>
Curry2X on Function1<A, Function1<B, R>>
Curry3X on Function1<A, Function1<B, Function1<C, R>>>
Curry4X on Function1<A, Function1<B, Function1<C, Function1<D, R>>>>
DateTimeTimeExtension on DateTime
DirectoryX on Directory
DoubleRangeExtension on double
Special variant for double which implements Comparable<num> and therefore doesn't work for the Comparable<T>.rangeTo(T) extension
DoubleX on T
DurationTimeExtension on Duration
FileSystemEntityX on FileSystemEntity
FileX on File
Function0X on Function0<R>
Function1X on Function1<A, R>
Function2X on Function2<A, B, R>
Function3X on Function3<A, B, C, R>
Function4X on Function4<A, B, C, D, R>
IntRangeExtension on int
The equivalent for double is DoubleRangeExtension
IntX on T
IterableFutureX on Iterable<Future<E>>
IterableIterableX on Iterable<Iterable<E>>
IterableNumNullX on Iterable<T>
Extensions for iterables
IterableNumX on Iterable<T>
Extensions for iterables
IterableX on Iterable<E>
Extensions for iterables
ListListX on List<List<E>>
ListX on List<E>
NumTimeExtension on T
NumX on T
StringCharacters on String
StringX on String

Typedefs

Function0<R> = R Function()
Function1<A, R> = R Function(A a)
Function2<A, B, R> = R Function(A a, B b)
Function3<A, B, C, R> = R Function(A a, B b, C c)
Function4<A, B, C, D, R> = R Function(A a, B b, C c, D d)