calculateScore method

  1. @override
int calculateScore(
  1. dynamic result
)
override

Score is the number of correct answers in the test.

Implementation

@override
int calculateScore(dynamic result) => result['correct'] as int;