I have the following data in Firebase:
In Flutter, I have the following two objects:
I'm trying to convert the nested map of sets in Firebase to the List in Flutter but am having issues. What is the best way to convert a Map object with Map fields into a List in Flutter?
I've tried mapping the sets via this method and two different techniques:

I know I'm having an issue handling the map object and I've received different errors depending on my approach but usually it is similar to one of the following:
Error 1: "type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'List'"
Error 2: "type '(dynamic) => ExerciseSet' is not a subtype of type '(dynamic, dynamic) => MapEntry<dynamic, dynamic>' of 'transform'"
Thank you for any help!




