onCastStateChanged method Null safety

  1. @internal
void onCastStateChanged(
  1. int castState
)

Internal method that shouldn't be visible

Implementation

@internal
void onCastStateChanged(int castState) {
  _stateNotifier.value = CastState.values[castState];
}