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