RoomVersionsCapability.fromJson constructor
Implementation
RoomVersionsCapability.fromJson(Map<String, Object?> json)
: available = (json['available'] as Map<String, Object?>).map(
(k, v) =>
MapEntry(k, RoomVersionAvailable.values.fromString(v as String)!),
),
default$ = json['default'] as String;