static List<Object>? listObjectFromJson(dynamic json) { if (json is List) { return json.nonNulls.map((e) => e).toList(); } return null; }