@override Object toJson() => { if (deployedIndex != null) 'deployedIndex': deployedIndex!.toJson(), };