cv 0.2.19-4 cv: ^0.2.19-4 copied to clipboard
Content Values map helpers. Define objects that can be converted to/from maps.
0.2.19-4 #
- add
CvTreePath
field tree path helper. - add
basicTypeCast, basicTypeCastType
utils inutils/value_utils.dart
0.2.18+1 #
- add
cvAddConstructors()
andcvTypeAddBuilder()
- add
anyAs
on Object to safely convert an object to any type - add
asModel
on Map to cast a map to a model - add
asModelList
on List to cast a list to a model list - add
clone
toCvModel
to clone a model
0.2.17+2 #
- add
cvType()
extensions - add
cvNewModel()
,cvTypeNewModel()
,cvNewModelList()
,cvTypeNewModelList()
helper - add
fieldAtPath()
helper onCvModel
- add
getKeyPathValue()
helper onList
andMap
0.2.16+2 #
- add
columns
argument inCvModel.copyFrom()
- add
matchingColumns()
,columns
helper onCvFields
0.2.15 #
- add
CvFields
type asList<CvField<Object?>>
.
0.2.14 #
- add
CvModelEmpty
to be used as empty model
0.2.13 #
- add
CvField.encoded
static function to encode a field content duringtoMap()
/fromMap()
- add
cvModelsAreEquals
helpers with optional columns selection to compare 2 models
0.2.12+1 #
- export
CvColumn
- fix fill option for Model like for Map
0.2.11 #
- Dart 3 support
0.2.10 #
- fix sdk 2.19 analyzer crash
0.2.9+3 #
- Supports strict-casts
- requires sdk 2.18
0.2.8+1 #
- lazy initialize model list object in cvList.
0.2.7 #
- add support for map of CvModel (CvModelMapField)
0.2.6 #
- add jsonToMap and jsonToMapList json String helpers
0.2.5 #
- Requires dart 2.15
0.2.4+1 #
- feat add json helpers
0.2.3+1 #
- Allow nullable for
CvField.withValue
, value being always set, even for null. - Fix
fillField
for genericList
andMap
0.2.2 #
- Add
CvField.isNotNull
,CvField.valueOrNull
(getter and setter) andCvField.valueOrThrow
(getter and setter)
0.2.1+1 #
- Add cv() as extension on List
0.2.0 #
- Fail when child/children builder are missing
0.1.3 #
- Initial version.