data method
Returns the data for the form
If a key
is provided, it will return the data for that key
Implementation
dynamic data({String? key}) {
if (key != null && _data.containsKey(key)) {
return _data[key];
}
return _data;
}
Returns the data for the form
If a key
is provided, it will return the data for that key
dynamic data({String? key}) {
if (key != null && _data.containsKey(key)) {
return _data[key];
}
return _data;
}