Web constructor

Web({
  1. Key? key,
  2. Map<String, dynamic>? okraOptions,
  3. String? shortUrl,
  4. required bool useShort,
  5. dynamic onError(
    1. String message
    )?,
  6. dynamic beforeClose(
    1. String message
    )?,
  7. dynamic onClose(
    1. String message
    )?,
  8. dynamic onSuccess(
    1. String data
    )?,
  9. dynamic onEvent(
    1. String message
    )?,
})

Implementation

Web({
  Key? key,
  this.okraOptions,
  this.shortUrl,
  required this.useShort,
  this.onError,
  this.beforeClose,
  this.onClose,
  this.onSuccess,
  this.onEvent,
}) : super(key: key);