webAuth function Null safety

Future<String> webAuth(
  1. AuthPayload payload
)

Implementation

Future<String> webAuth(AuthPayload payload) async {
  return await FlutterWebAuth.authenticate(url: payload.url, callbackUrlScheme: payload.scheme);
}