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