Config class

Configurador de sessões

Constructors

Config.new()

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

excluirusuario() Future<void>
getConfiguracao() Future<Map<String, dynamic>?>
retorna a configuração. Caso seja a primeira configuração retorna ip: 127.0.0.1 e prota 8080
getUsuario() Future<Map<String, dynamic>?>
retorna o usuario
gravarConfiguracao({required String ip, required String porta}) Future<void>
gravar o ip e porta da aplicação
gravarUsuario({required String email, required String senha}) Future<void>
grava usuario no cache