Converts list of ShakeFile to list of maps.
List<Map<String, dynamic>> shakeFilesToMap(List<ShakeFile> shakeFiles) { return shakeFiles.map((shakeFile) => shakeFile.toMap()).toList(); }