logsMap property

Map<String, List<Map<String, dynamic>>> get logsMap

Returns the logs as a Map representation.

The logs are converted to a Map with the key 'logs' containing a list of Map representations of each log entry using InfospectLog.toMap().

Implementation

Map<String, List<Map<String, dynamic>>> get logsMap =>
    {'logs': logs.map<Map<String, dynamic>>((e) => e.toMap()).toList()};