Logger.fromJson constructor
Implementation
factory Logger.fromJson(Map<String, dynamic> json) {
return Logger(
component: (json['Component'] as String).toLoggerComponent(),
id: json['Id'] as String,
level: (json['Level'] as String).toLoggerLevel(),
type: (json['Type'] as String).toLoggerType(),
space: json['Space'] as int?,
);
}