toJson method
Implementation
Map toJson() {
final List<Map> scripts = map((e) => e.toJson()).toList(
growable: true,
);
return {
"@type": "scriptGenerators",
"total_count": scripts.length,
"scripts": scripts,
};
}
Map toJson() {
final List<Map> scripts = map((e) => e.toJson()).toList(
growable: true,
);
return {
"@type": "scriptGenerators",
"total_count": scripts.length,
"scripts": scripts,
};
}