getKeyDetails method

Future<KeyDetails> getKeyDetails()

Get details about the current API key and plan usage.

Implementation

Future<KeyDetails> getKeyDetails() async {
  const path = "key";
  final response = await _get(path);
  return _parseModel(
    method: "GET",
    path: path,
    parser: () => KeyDetails.fromJson(response),
  );
}