gg_value 1.1.0-dev.3 gg_value: ^1.1.0-dev.3 copied to clipboard
GgValue allows managing a value in a dart application. It provides a stream, a flag preventing too many updates, and a custom transform and a comparison function.
Change Log #
1.1.0-dev.3 #
- In many cases, consumers of
GgValue
should only read but not write. To enforce this,GgReadOnlyValue
is introduced. - Instead of
Stream<T>
,GgValue<T>
returns aGgValueStream<T>
, which offers direct access to the last set value. GgValue.stream.map
was added.
1.0.3 #
- Added
set jsonDecodedValue
to assign values decoded from json - Added
get jsonDecodedValue
to assign values decoded from json
1.0.3-dev.2 #
- Renamed
toString
constructor parameter intostringify
. - Added
toString()
method. - Added optional
name
constructor parameter
1.0.3-dev.1 #
- String processing is working for dynamic types also
1.0.2 #
- When used with custom types, no
parse
andtoString
function needs to be specified. An exception will by thrown onlystringValue
is used.
1.0.1 #
- Parse an generate bool strings
- Updated documentation
- Provided example
1.0.0 #
- Parse strings into GgValue
- Turn GgValue into strings
0.0.9+4 #
- Moved source code to https://github.com/inlavigo/gg_value
0.0.9+2 #
- Fixed dart package conventions.
0.0.9+1 #
- Initial version.