Encodes this value as a JSON object.
Map<String, Object?> toJson() => <String, Object?>{ 'algorithm': algorithm, 'covers': covers.map((item) => item).toList(growable: false), 'value': value, };