ResolveRoomResponse.fromJson constructor

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

Implementation

factory ResolveRoomResponse.fromJson(Map<String, dynamic> json) {
  return ResolveRoomResponse(
    roomArn: json['RoomArn'] as String?,
    roomName: json['RoomName'] as String?,
    roomSkillParameters: (json['RoomSkillParameters'] as List?)
        ?.whereNotNull()
        .map((e) => RoomSkillParameter.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}