Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'resetPasswordResultDeclined', if (extra != null) '@extra': extra, 'retry_date': retry_date }; }