hosts property

ServerHosts hosts
getter/setter pair

ServerHosts used by SDK.

You can explicitly set this to your custom ServerHosts. One example can be

class SandboxHosts extends ServerHosts {
@override
String get kapi => "sandbox-${super.kapi}";

@override
String get kauth => "sandbox-${super.kauth}";

@override
 String get sharer => "sandbox-${super.sharer}";
}

Implementation

static ServerHosts hosts = ServerHosts();