recoveryIndentityServiceAddress method

Future<String> recoveryIndentityServiceAddress()

Implementation

Future<String> recoveryIndentityServiceAddress() async {
  var valueToReturn = identityServiceAddress ?? globalIdentityServerAddress;
  if (kDebugMode | kProfileMode) {
    var message = 'la variable `$_identityApp` no está definida';
    final devapp = DevAppManager();
    final value = await devapp.readValue(_identityApp);
    if (value == null) throw Exception(message);
    valueToReturn = value;
  }
  return valueToReturn;
}