SimulatedWatchLink constructor

SimulatedWatchLink({
  1. bool reachable = true,
})

Implementation

SimulatedWatchLink({bool reachable = true})
    : phone = FakeWatchBridgePlatform(),
      watch = FakeWatchBridgePlatform() {
  phone._peer = watch;
  watch._peer = phone;
  this.reachable = reachable;
}