initial static method

NetworkState initial()

Implementation

static NetworkState initial() {
  return new NetworkState((b) => b
    ..apiEndpoint = Endpoint(
      (b) => b
        ..name = 'local'
        ..value = "localhost:4200"
        ..code = 'lo',
    ).toBuilder()
    ..https = true
    ..isLoading = false
    ..networkCompletionStack = MapBuilder<String, bool>()
    ..token = ""
    ..endpoints = ListBuilder<Endpoint>()
    ..usedEndpoints = ListBuilder<Endpoint>());
}