EsigUtils class
Constructors
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
-
addListSeparator<
T> (List< T> list, T separator) → List<T> - Método que insere o objeto do tipo T entre os elementos da lista passada.
-
compactCurrencyBRFormat(
double valor) → String - Ex: 72.123 vira '72,1K' -72.123.123 vira '-72,1M'
-
convertToMd5(
String text) → String - Usado em senhas
-
convertToReal(
double valor) → String -
formatCpfCnpj(
int cpfCnpj) → String - Recebe um inteiro que representa ou um CPF ou um CNPJ. Itentifica do que se trata com base na quantidade de dígitos.
-
textoSeparado(
String? s1, String? s2, String? separador) → String -
Retorna String "
separador
s2
", quandos1
es2
são não nulos. Retorna somente uma das Strings quando a outra for nula.
Constants
- NUMBER_FORMAT → const String
- Formatação aplicada à valores monetários