Returns whether the provider accepted the credentials; null hides the Test button.
final Future<bool> Function(Map<String, String> credentials)? onTest;