download static method

Future<Event> download(
  1. Object id, [
  2. ScHttpClient? http
])

id can be either an id or a guid

Implementation

static Future<Event> download(Object id, [ScHttpClient? http]) async =>
    Event.fromJson(jsonDecode(await (http ?? ScHttpClient())
        .get('https://api.media.ccc.de/public/events/$id')));