initialData method
Load data for the form
Implementation
initialData(Function() loadData, {bool refreshState = false}) {
_loadData = loadData;
if (!refreshState) return;
NyForm.stateRefresh(stateName);
}
Load data for the form
initialData(Function() loadData, {bool refreshState = false}) {
_loadData = loadData;
if (!refreshState) return;
NyForm.stateRefresh(stateName);
}