


# AuthenticationFailureInterface.fromCode constructor




    *[<Null safety>](https://dart.dev/null-safety)*



AuthenticationFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code)





## Implementation

```dart
AuthenticationFailureInterface.fromCode(this.code)
    : msg = 'An unknown error occurred.';
```







