lazy_extensions library

Extensions

LazyExtByteData on ByteData
Lazy extension for ByteData
LazyExtDateTime on DateTime
Lazy extension for DateTime
LazyExtList on List<T>
Lazy extension for List
LazyExtObject on Object
LazyExtString on String
Lazy extension for String
LazyExtUint8List on Uint8List
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>