Converts the object into a JSON representation.
Map<String, dynamic> toJson() { return { 'apiKey': apiKey, 'baseUrl': baseUrl, 'timeout': timeout.inSeconds, 'debug': debug, }; }