RoomKeyBackup.fromJson constructor

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

Implementation

RoomKeyBackup.fromJson(Map<String, Object?> json)
    : sessions = (json['sessions'] as Map<String, Object?>).map((k, v) =>
          MapEntry(k, KeyBackupData.fromJson(v as Map<String, Object?>)));