createMock<T> static method

Rx<T> createMock<T>(
  1. T initialValue
)

Create a mock reactive value for testing

Implementation

static Rx<T> createMock<T>(T initialValue) {
  return Rx<T>(initialValue);
}