value property
get validated data
when you want to submit a form after all validation passed,
you should use form data from this method rather than FormeKey.data
due to
form data may be changed during async validation
use isValueChangedDuringValidation
to check whether form data changed during async validation
Implementation
Map<String, dynamic> get value => _snapshots
.where((element) => element.name != null)
.toList()
.asMap()
.map<String, dynamic>(
(key, value) => MapEntry<String, dynamic>(value.name!, value.value));