ezOptional class

Inheritance

Constructors

ezOptional(Type type, {Object? defaultValue})
const

Properties

defaultVal Object?
finalinherited
defaultValue Object?
final
hashCode int
The hash code for this object.
no setterinherited
name String?
finalinherited
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
no setteroverride
propertyType Type
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
final
validator → EzValidator<Object>
no setterinherited

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