@override Object toJson() => { if (chunks.isNotDefault) 'chunks': [for (final i in chunks) i.toJson()], };