List<Map> toJsonList() { final List<Map> scripts = map((e) => e.toJson()).toList( growable: true, ); return scripts; }