filterOnDidLoad method
Callback called after loading.
If loaded is true
, it will not be executed.
If value
is passed and a modified version of it is returned, it becomes the value
of DocumentBase.
ロード後に呼ばれるコールバック。
loadedがtrue
の場合は実行されません。
リストの中のDocumentBaseが
Implementation
@protected
@mustCallSuper
Future<List<TModel>> filterOnDidLoad(List<TModel> value) async {
return await Future.wait(
value.map((e) async {
final res = await e.filterOnDidLoad(e.value);
if (res != e.value) {
e._value = res;
}
return e;
}),
);
}