lazy_extensions library

Extensions

LazyExtByteData
Lazy extension for ByteData
LazyExtDateTime
Lazy extension for DateTime
LazyExtList
Lazy extension for List
LazyExtObject
LazyExtString
Lazy extension for String
LazyExtUint8List
Lazy extension for Uint8List

Constants

defaultDateTimeFormat → const String
defaultJsonIndent → const String
Default jsonPretty indent with 2 spaces
defaultTimestampFormat → const String

Properties

dayZero DateTime
Shorthand for DateTime(0)
no setter
now DateTime
Shorthand for DateTime.now()
no setter
timestampNow String
Shorthand for DateTime.now().timestamp()
no setter
zeroDay DateTime
Shorthand for DateTime(0)
no setter

Functions

byteStreamToString(Stream<List<int>> stream) Future<String>
dateTimeFromString(String string, {String format = defaultDateTimeFormat}) DateTime
Return DateTime from string using supplied format or defaultDateTimeFormat = 'yyyy-MM-dd HH:mm:ss'`
mediaStreamToString(Stream<List<int>> stream) Future<String>