jsonDecodeToMap static method
Returns a decoded Map from the given jsonString, or null if
decoding fails.
Implementation
@useResult
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 MapExtensions.toMapStringDynamic(decoded);
}