shakeFilesToMap method

List<Map<String, dynamic>> shakeFilesToMap(
  1. List<ShakeFile> shakeFiles
)

Converts list of ShakeFile to list of maps.

Implementation

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