GetRoomKeysVersionResponse.fromJson constructor

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

Implementation

GetRoomKeysVersionResponse.fromJson(Map<String, Object?> json)
  : algorithm = BackupAlgorithm.values.fromString(
      json['algorithm'] as String,
    )!,
    authData = json['auth_data'] as Map<String, Object?>,
    count = json['count'] as int,
    etag = json['etag'] as String,
    version = json['version'] as String;