Map<String, dynamic> toMap() { return <String, dynamic>{ 'apiProperties': apiProperties.toMap(), 'loggerProperties': loggerProperties.toMap(), }; }