jsonDecodeToMap static method
Decodes a JSON string to a Map.
Implementation
static Map<String, dynamic>? jsonDecodeToMap(String? jsonString) {
if (jsonString == null || jsonString.isEmpty) return null;
final dynamic decoded = jsonDecodeSafe(jsonString);
if (decoded == null) return null;
return MapUtils.toMapStringDynamic(decoded);
}