currentValues method

Map<String, dynamic> currentValues({
  1. List<String>? skipFieldNames,
})

Implementation

Map<String, dynamic> currentValues({List<String>? skipFieldNames})
{
  List<String> requiredFields = fields.values.map((e) => e.name)
      .where((element) => skipFieldNames == null || !skipFieldNames.contains(element))
      .toList();

  return currentValuesFor(requiredFields);
}