mapEmpty static method

bool mapEmpty(
  1. Map? value
)

Map为空

Implementation

static bool mapEmpty(Map? value) {
  if (value == null) return true;
  return value.isEmpty;
}