create<T> static method

CurrentValueSubject<T> create<T>(
  1. T value
)

Creates a subject with an initial value.

Implementation

static CurrentValueSubject<T> create<T>(T value) => CurrentValueSubject._(initialValue: value);