LogSetup.fromJson constructor
Implementation
factory LogSetup.fromJson(Map<String, dynamic> json) {
return LogSetup(
enabled: json['enabled'] as bool?,
types: (json['types'] as List?)
?.whereNotNull()
.map((e) => (e as String).toLogType())
.toList(),
);
}