LoggingConfiguration.fromJson constructor
Implementation
factory LoggingConfiguration.fromJson(Map<String, dynamic> json) {
return LoggingConfiguration(
destinations: (json['destinations'] as List?)
?.whereNotNull()
.map((e) => LogDestination.fromJson(e as Map<String, dynamic>))
.toList(),
includeExecutionData: json['includeExecutionData'] as bool?,
level: (json['level'] as String?)?.toLogLevel(),
);
}