supportsPlatform method
Verifies that an AuthProvider
is supported on a platform
.
Implementation
@override
bool supportsPlatform(TargetPlatform platform) {
return kIsWeb ||
platform == TargetPlatform.android ||
platform == TargetPlatform.iOS ||
platform == TargetPlatform.macOS;
}