toJsonList method

List<Map> toJsonList()

Implementation

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