setLoading method

void setLoading({
  1. bool? value,
})

Implementation

void setLoading({bool? value}) => _loading.sink.add(value ?? !isLoading);