decode static method

OWAuthenticator decode(
  1. Object result
)

Implementation

static OWAuthenticator decode(Object result) {
  result as List<Object?>;
  return OWAuthenticator(
    id: result[0]! as String,
    name: result[1]! as String,
    isRegistered: result[2]! as bool,
    isPreferred: result[3]! as bool,
    authenticatorType: OWAuthenticatorType.values[result[4]! as int],
  );
}