Room.fromJson constructor

Room.fromJson(
  1. Map<String, dynamic> json
)

Creates room from a map (decoded JSON).

Implementation

factory Room.fromJson(Map<String, dynamic> json) => _$RoomFromJson(json);