utils/value_utils library
Extensions
- CvBasicTypeExt on Type
- Basic type extension definition.
Functions
-
basicTypeCast<
T extends Object?> (Object? value) → T? - Handle int, num, double, String, bool
-
basicTypeCastType(
Type type, Object? value) → Object? - Handle int, num, double, String, bool
-
isBasicTypeOrNull(
dynamic value) → bool - True for null, num, String, bool