missingDecisions function

List<String> missingDecisions(
  1. Map<String, Object?> decisions
)

Implementation

List<String> missingDecisions(Map<String, Object?> decisions) => decisions
    .entries
    .where(
      (entry) =>
          entry.value == null ||
          entry.value == '' ||
          (entry.value is List && (entry.value! as List).isEmpty),
    )
    .map((entry) => entry.key)
    .toList();