setIP static method

Future<void> setIP(
  1. String ip
)

Sets the IP address for the lg session.

Implementation

static Future<void> setIP(String ip) async =>
    await _prefs?.setString(_keyIP, ip);