factory LoggingConfig.fromJson(Map<String, dynamic> json) { return LoggingConfig( recordAllRosTopics: json['recordAllRosTopics'] as bool, ); }