convenience_types 0.8.1
convenience_types: ^0.8.1 copied to clipboard
A package to ensamble convenience types commonly used through flutter projects developed by Capyba.
0.8.1 #
- changed id to identity to avoid conflicts
- changed behavior of mapNothing/mapAsyncNothing
- changed behavior of mapFailure/mapAsyncFailure
0.8.0 #
- add mapNothing and mapAsynNothing to Maybe type
- add mapFailure and mapAsyncFailure to Result type
- add Unit type
- fix getOrElse behavior
New #
- dart built-in pattern matching
- sdk updtate
0.6.1 #
New #
- connectivity_plus: 6.0.5
- dio: 5.7.0
- state_notifier: 1.0.0
- freezed_annotation: 2.4.4
- freezed: 2.5.7
- build_runner: 2.4.13
0.6.0 #
New #
- connectivity_plus: 5.0.2
- dio: 5.4.1
- state_notifier: 1.0.0
- freezed_annotation: 2.4.1
- freezed: 2.4.7
0.5.2 #
0.5.0 #
New #
- add
castInto<k>method toFormField<T>to help casting field types leaving names unchanged
0.4.0 #
New #
- add
mapAsyncSuccess<K>method toResultto chain asynchronous access to data - add
mapAsyncJust<K>method toMaybeto chain asynchronous access to data - add
(Maybe<J>, Maybe<K>).maybeCombineextension method to(Maybe<J>, Maybe<K>)records to neatly control access to an ordered pair of twoMaybes possible values
0.2.2 #
fixes #
- add 'slug' in the parameters of 'parseHttpError' and utilize it in the errors 'slug' field.