SubjectOptions class

Configuration options for creating a CurrentValueSubject.

Constructors

SubjectOptions({void onCancel()?, bool isDerived = false})
Creates subject options.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isDerived bool
Whether this subject is derived from another subject. Derived subjects cannot have values added directly.
final
onCancel → void Function()?
Callback invoked when the subject's last listener is cancelled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited