RoomKeysUpdateResponse.fromJson constructor

RoomKeysUpdateResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

RoomKeysUpdateResponse.fromJson(Map<String, Object?> json)
    : etag = json.tryGet<String>('etag') ??
          '', // synapse replies an int but docs say string?
      count = json.tryGet<int>('count') ?? 0;