fromString static method

Sip fromString(
  1. String provider
)

Get sign in provider from provider id Will throw error when provider does not match

Implementation

static Sip fromString(String provider) {
  return _all.firstWhere((element) => element.rawValue == provider);
}