RoomKeys.fromJson constructor

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

Implementation

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