@override Object toJson() => { if (deployedIndex case final deployedIndex?) 'deployedIndex': deployedIndex.toJson(), };