@override Object toJson() => { 'contents': [for (final i in contents) i.toJson()], 'searchKeyGenerationMethod': ?searchKeyGenerationMethod?.toJson(), };