FollyValidators class

Constructors

FollyValidators()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the 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

Static Methods

decimalGTEZero(Decimal? decimal, {String msg = 'O valor deve ser igual ou maior que zero.'}) → String?
decimalGTZero(Decimal? decimal, {String msg = 'O valor deve ser maior que zero.'}) → String?
decimalLTEZero(Decimal? decimal, {String msg = 'O valor deve ser igual ou menor que zero.'}) → String?
decimalLTZero(Decimal? decimal, {String msg = 'O valor deve ser menor que zero.'}) → String?
intGTEZero(int? value, {String msg = 'O valor deve ser igual ou maior que zero.'}) → String?
intGTZero(int? value, {String msg = 'O valor deve ser maior que zero.'}) → String?
intLTEZero(int? value, {String msg = 'O valor deve ser igual ou menor que zero.'}) → String?
intLTZero(int? value, {String msg = 'O valor deve ser menor que zero.'}) → String?
intNullGTEZero(int? value, {String msg = 'O valor deve ser nulo, igual ou maior que zero.'}) → String?
intNullGTZero(int? value, {String msg = 'O valor deve ser nulo ou maior que zero.'}) → String?
intNullLTEZero(int? value, {String msg = 'O valor deve ser nulo, igual ou menor que zero.'}) → String?
intNullLTZero(int? value, {String msg = 'O valor deve ser nulo ou menor que zero.'}) → String?
notBlank(dynamic value, {String msg = 'O campo deve ser preenchido.'}) → String?
notEmpty(dynamic value, {String msg = 'O campo não pode ser vazio.'}) → String?
notNull(dynamic value, {String msg = 'O campo não pode ser nulo.'}) → String?
stringNotBlank(String? string, {String msg = 'O campo deve ser preenchido.'}) → String?
stringNotEmpty(String? string, {String msg = 'O campo não pode ser vazio.'}) → String?
stringNullNotBlank(String? string, {String msg = 'Informe um valor ou deixe em branco.'}) → String?
stringNullNotEmpty(String? string, {String msg = 'Informe um valor ou deixe vazio.'}) → String?