@override Map<String, dynamic> toJson() => { ...resolve().toJson(), 'className': className, 'resolved': true, };