getFieldsGroupCheckedKeys<K> method

List<K> getFieldsGroupCheckedKeys<K>(
  1. String groupPrefix, {
  2. Map<String, String?>? fields,
  3. String keyDelimiter = '_',
  4. String keyPart(
    1. String key
    )?,
  5. K keyAs(
    1. String key
    )?,
})

Implementation

List<K> getFieldsGroupCheckedKeys<K>(
  String groupPrefix, {
  Map<String, String?>? fields,
  String keyDelimiter = '_',
  String Function(String key)? keyPart,
  K Function(String key)? keyAs,
}) =>
    getFieldsGroupChecks<K>(
      groupPrefix,
      fields: fields,
      keyDelimiter: keyDelimiter,
      keyPart: keyPart,
      keyAs: keyAs,
      filter: (k, v) => v == true,
    ).keys.toList();