toJson method

Map<String, dynamic> toJson()

Converts the object into a JSON representation.

Implementation

Map<String, dynamic> toJson() {
  return {
    'apiKey': apiKey,
    'baseUrl': baseUrl,
    'timeout': timeout.inSeconds,
    'debug': debug,
  };
}