initFromModel method
Implementation
Future<void> initFromModel(ScreenContentModel model) async {
if (state.isSyncedWithFile == false) {
logInfo('Init from model');
await _updateContent(model.content);
emit(state.copyWith(contentType: model.contentType));
}
}