save method

  1. @override
Future<bool> save()
override

Saves every FormField that is a descendant of this Form.

Implementation

@override
Future<bool> save() async {
  if (!validate()) return Future.value(false);

  super.save();

  final form = this.widget as MvvmForm;

  return await form.save();
}