GoogleHomeEnterpriseSdmV1ListRoomsResponse.fromJson constructor

GoogleHomeEnterpriseSdmV1ListRoomsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleHomeEnterpriseSdmV1ListRoomsResponse.fromJson(core.Map json_)
    : this(
        rooms: json_.containsKey('rooms')
            ? (json_['rooms'] as core.List)
                .map((value) => GoogleHomeEnterpriseSdmV1Room.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );