Flutter SDK documentation for Retrieve Related Data With API

Mission: RELATIONS MASTER
Task: Retrieve Related Data With API

DataQueryBuilder queryBuilder = DataQueryBuilder();
queryBuilder.whereClause = “name = ‘Joe’”;
queryBuilder.related = [“cityOfResidence”];

The syntax of the .find call seems wrong:
( Single Step Retrieval - Backendless SDK for Flutter API Documentation

            // documentation code doesn't run ...  bad syntax?
            // Future<List<Map>> Backendless.data.of("TABLE-NAME").find([DataQueryBuilder queryBuilder]);  bad syntax?


            // this runs, prints: data = Instance of 'Future<List<Map<dynamic, dynamic>?>?>'
            // Future<List<Map<dynamic, dynamic>?>?> data = Backendless.data.of('Person').find(queryBuilder);
            // print('data = $data');

            // this runs, prints: data
            Backendless.data.of('Person').find(queryBuilder).then((value) =>
            print('value = $value'));

Hello @Jim_Austin

Thank you for contacting the support team. Our flutter specialist will check and we will correct the documentation.

Regards,
Inna