toJson method

  1. @visibleForTesting
Map<String, dynamic> toJson()

Implementation

@visibleForTesting
Map<String, dynamic> toJson() => {
      "baseUrl": _baseUrl,
      "apiKey": _apiKey,
      "ttl": _ttl,
      "httpTimeoutMs": _httpTimeoutMs,
    }.clearNulls();