util library

Classes

ErrorDetails
Saves exception details for presentation.
FileSystem
Interface for dart:io File.
NullFileSystem
Shim FileSystem for tests.
SortedListSet<T>
A proto-Set implemented as a List sorted by compare.

Constants

debugLevelDebug → const int
2
debugLevelError → const int
0
debugLevelInfo → const int
1

Functions

checkEquals(dynamic x, dynamic y, [StringCallback debugPrint]) → bool
Optionally debugPrint failed assertions in-app.
debugPrintLong(Object object, StringCallback debugPrint) → void
Splits debugPrint into separate calls of maxPrintLength.
equalUint8List(Uint8List x, Uint8List y) → bool
Returns true if x and y are equivalent.
randBytes(int n) → Uint8List
Returns n random bytes.
voidResult() → Future<void>
zeroPadOddLengthString(String x) → String
zeroPadUint8List(Uint8List input, int size) → Uint8List
Prepends input with zeros so input.length becomes size.

Typedefs

StringCallback(String) → void
StringFunction() → String
VoidCallback() → void