dartx_io library Null safety

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

ComparableBetweenExtension
ComparableBiggerEqualsExtension
ComparableBiggerExtension
ComparableCoerceAtLeastExtension
ComparableCoerceAtMostExtension
ComparableCoerceInExtension
ComparableInRangeExtension
ComparableRangeX
ComparableSmallerEqualsExtension
ComparableSmallerExtension
Provides comparison operators for Comparable types.
CompararatorComposeExtensions
CompararatorReverseExtensions
DateTimeTimeExtension
DirectoryContainsExtension
DirectoryContainsSyncExtension
DirectoryCopyRecursivelyExtension
DirectoryDirectoryExtension
DirectoryFileExtension
DirectorySubDirExtension
DoubleRangeToExtension
Special variant for double which implements Comparable<num> and therefore doesn't work for the Comparable<T>.rangeTo(T) extension [...]
DoubleToBytesExtension
DurationTimeExtension
FileAppendBytesExtension
FileAppendStringExtension
FileForEachBlockExtension
FileSystemEntityDirNameExtension
FileSystemEntityExtensionExtension
FileSystemEntityIsWithinExtension
FileSystemEntityNameExtension
FileSystemEntityNameWithoutExtensionExtension
FileSystemEntityWithNameExtension
Function0InvokeExtension
Function1InvokeExtensions
Function1PartialExtensions
Function2CurryExtension
Function2FlipExtension
Function2InvokeExtension
Function2Partial2Extension
Function2PartialExtension
Function2UncurryExtension
Function3CurryExtension
Function3InvokeExtension
Function3Partial2Extension
Function3Partial3Extension
Function3PartialExtension
Function3UncurryExtension
Function4CurryExtension
Function4InvokeExtension
Function4Partial2Extension
Function4Partial3Extension
Function4Partial4Extension
Function4PartialExtension
Function4UncurryExtension
InterableMin
IntRangeToExtension
The equivalent for double is DoubleRangeExtension
IntToBytesExtension
IterableAll
IterableAppend
IterableAppendElement
IterableAssociate
IterableAssociateBy
IterableAssociateWith
IterableAsStream
IterableAverageBy
IterableCached
IterableChunked
IterableChunkWhile
IterableContainsAll
IterableContainsAny
IterableContentEquals
IterableCount
IterableCycle
IterableDistinct
IterableDistinctBy
IterableElementAtOrDefault
IterableElementAtOrElse
IterableElementAtOrNull
IterableExcept
IterableExceptElement
IterableFilter
IterableFilterIndexed
IterableFilterIndexedTo
IterableFilterNot
IterableFilterNotIndexed
IterableFilterNotNull
IterableFilterNotTo
IterableFilterNotToIndexed
IterableFilterTo
IterableFirstOrDefault
IterableFirstOrNull
IterableFirstOrNullWhere
IterableFirstWhile
IterableFlatMap
IterableForEachIndexed
IterableForthItem
IterableFutureX
IterableGroupBy
IterableIntersect
IterableIterableX
IterableJoinToString
IterableLastOrElse
IterableLastOrNull
IterableLastOrNullWhere
IterableLastWhile
IterableMapIndexed
IterableMapIndexedNotNull
IterableMapNotNull
IterableMax
IterableMaxBy
IterableMaxWith
IterableMinBy
IterableMinus
IterableMinWith
IterableNone
IterableNumAverageExtension
IterableNumMedianExtension
IterableNumSumExtension
Extensions for iterables
IterableOnEach
IterablePartition
IterablePlus
IterablePrepend
IterablePrependElement
IterableReversed
IterableSecondItem
IterableShuffled
IterableSlice
IterableSorted
IterableSortedBy
IterableSortedByDescending
IterableSortedDescending
IterableSortedWith
IterableSplitWhen
IterableSumBy
IterableTakeFirst
IterableTakeLast
IterableThirdItem
IterableToHashSet
IterableToIterable
IterableToUnmodifiable
IterableUnion
IterableWhereIndexed
IterableWhereIndexedTo
IterableWhereNot
IterableWhereNotIndexed
IterableWhereNotNull
IterableWhereNotTo
IterableWhereNotToIndexed
IterableWhereTo
IterableWindowed
IterableZip
ListBinarySearchExtension
ListDropExtension
ListDropLastExtension
ListDropLastWhileExtension
ListDropWhileExtension
ListElementAtOrNull
ListExtension
ListFlattenExtension
ListIndicesExtension
ListInsertionSortExtension
ListLastIndexExtension
ListLowerBoundExtension
ListMergeSortExtension
ListSwapExtension
NullableStringIsNotNullOrEmptyExtension
NullableStringIsNullOrEmptyExtension
NumBetweenExtension
NumCoerceAtLeastExtension
NumCoerceAtMostExtension
NumCoerceInExtension
NumCoerceInRangeExtension
NumTimeExtension
StringCapitalizeExtension
StringCharacters
StringCharsExtension
StringDecapitalizeExtension
StringIsAsciiExtension
StringIsBlankExtension
StringIsCapitalizedExtension
StringIsDecapitalizedExtension
StringIsDoubleExtension
StringIsIntExtension
StringIsLatin1Extension
StringIsLowerCaseExtension
StringIsNotBlankExtension
StringIsUpperCaseExtension
StringMd5Extension
StringRemovePrefixExtension
StringRemoveSuffixExtension
StringRemoveSurroundingExtension
StringReversedExtension
StringSliceExtension
StringToDoubleExtension
StringToDoubleOrNullExtension
StringToIntExtension
StringToIntOrNullExtension
StringToUtf8Extension
StringToUtf16Extension

Typedefs

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