buildSuccessState method

  1. @override
Widget buildSuccessState(
  1. BuildContext context,
  2. ThirdPartySessionModel? data
)
override

Implementation

@override
Widget buildSuccessState(BuildContext context, ThirdPartySessionModel? data) {
  if (data!.validate()) {
    onSessionSuccess(data);
  }

  return child;
}