quiz method

  1. @override
Future quiz()
override

Implementation

@override
Future quiz() async {
  var quiz = {};
  try {
    var result = await platform.invokeMethod('isQuizeAd');
    quiz['isQuizeAd'] = result;
  } on PlatformException {}
  try {
    var result1 = await platform.invokeMethod('quiz');
    quiz['quizUrl'] = result1;
  } on PlatformException {}
  return quiz;
}