Protection constructor

const Protection(
  1. {Key key,
  2. @required Widget onAuthenticated,
  3. Widget onUnAutheticated,
  4. @required FirebaseAuth auth}
)

Implementation

const Protection(
    {Key key,
    @required this.onAuthenticated,
    this.onUnAutheticated,
    @required this.auth})
    : super(key: key);