overview abstract method

Future<OverviewResponse> overview()

Returns all learned words associated with the language that the authenticated user is currently learning.

A call to this method will always cause a communication process with the Duolingo API. If you want to reuse the cached response object, use cachedOverview.

Example:

void main() async {
 final duolingo = Duolingo.instance;

 final authResponse = await duolingo.authenticate(
   username: 'test_username',
   password: 'test_password',
 );

 final overviewResponse = await duolingo.overview();

 for (final vocabulary in overviewResponse.vocabularies) {
     print(vocabulary.word);
 }
}

Implementation

Future<OverviewResponse> overview();