menu
pharaoh package
documentation
pharaoh_next.dart
ClassPropertyValidator<T extends Object> class
ClassPropertyValidator<T extends Object> class
dark_mode
light_mode
ClassPropertyValidator<
T extends Object
>
class
abstract
Implementers
ezDateTime
ezEmail
ezMaxLength
ezMinLength
ezOptional
ezRequired
Constructors
ClassPropertyValidator
({
String
?
name
,
T?
defaultVal
,
bool
optional
=
false
})
const
Properties
defaultVal
→ T?
final
hashCode
→
int
The hash code for this object.
no setter
inherited
name
→
String
?
final
optional
→
bool
TODO: we need to be able to infer nullability also from the type we'll need reflection for that, tho currently, the reason i'm not doing it is because of the amount of code the library (reflectable) generates just to enable this capability
final
propertyType
→
Type
no setter
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
validator
→ EzValidator
<
T
>
no setter
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
pharaoh package
documentation
pharaoh_next
ClassPropertyValidator<T extends Object> class
pharaoh_next library