GoogleHomeEnterpriseSdmV1ListDevicesResponse.fromJson constructor

GoogleHomeEnterpriseSdmV1ListDevicesResponse.fromJson(
  1. Map json_
)

Implementation

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