SupaMagicAuth constructor

const SupaMagicAuth({
  1. Key? key,
  2. String? redirectUrl,
  3. required void onSuccess(
    1. Session response
    ),
  4. void onError(
    1. Object error
    )?,
  5. SupaMagicAuthLocalization localization = const SupaMagicAuthLocalization(),
})

Implementation

const SupaMagicAuth({
  Key? key,
  this.redirectUrl,
  required this.onSuccess,
  this.onError,
  this.localization = const SupaMagicAuthLocalization(),
}) : super(key: key);