initialize method

  1. @protected
void initialize()

Implementation

@protected
void initialize() async {
  try {
    final result = await provider();
    emit(AutoContentReadyState(result));
  } catch (e, t) {
    emit(AutoContentErrorState(e, t));
  }
}