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