Map<String, dynamic> toJson() => { 'castlingFormat': castlingFormat.name, 'showPromoted': showPromoted, 'virginFiles': virginFiles, };