resetLayout method
Restores the grid to its configured default layout and deletes any persisted snapshot.
Implementation
Future<void> resetLayout() async {
final reset = _reset;
if (reset == null) {
throw StateError('FdcGridController is not attached to a grid.');
}
reset();
await (_deleteLayoutCommand?.call() ?? Future<void>.value());
}