lazy property
Controls when should the connection be established.
false
: Establish a connection immediately. UseonNonLazyError
to handle errors.true
: Establish a connection on first subscribe and close on last unsubscribe. Use the subscription sink'serror
to handle errors.
@default true
Implementation
final bool lazy;