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