Flutter: Generate an email link

Generates email links and OTPs to be sent via a custom email provider.

Examples

Generate a signup link

final res = await supabase.auth.admin.generateLink(
  type: GenerateLinkType.signup,
  email: 'email@example.com',
  password: 'secret',
);
final actionLink = res.properties.actionLink;