Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'logVerbosityLevel', if (extra != null) '@extra': extra, 'verbosity_level': verbosity_level }; }