buildErrorState method

  1. @override
Widget buildErrorState(
  1. BuildContext context,
  2. ThirdPartyErrorModel? error
)
override

Implementation

@override
Widget buildErrorState(BuildContext context, ThirdPartyErrorModel? error) {
  final btn = _buildButton(context);
  onSessionError.call(error!.code);
  return _wrap(btn);
}