Automatically generate a form for any class in Dart