Skip to content

Instantly share code, notes, and snippets.

@guilhermecarvalhocarneiro
Created August 2, 2021 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilhermecarvalhocarneiro/336431167f79aa7445f9f182d7717f1d to your computer and use it in GitHub Desktop.
Save guilhermecarvalhocarneiro/336431167f79aa7445f9f182d7717f1d to your computer and use it in GitHub Desktop.
class Process {
static late Process _instance;
Process._internal() {
_instance = this;
}
factory Process() => _instance ?? Process._internal();
static bool processing = true;
static late bool finishedSuccessfully;
static bool? isDioError;
static int statusCode = 0;
static late String resultMessage;
static String friendlyMessage = 'Ocorreu um erro, favor tentar novamente.';
static late String httpHeader;
static late String httpData;
static late String resultException;
static late String request;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment