GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest.fromJson constructor

GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest.fromJson(
  1. Map json_
)

Implementation

GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest.fromJson(core.Map json_)
  : this(
      command: json_['command'] as core.String?,
      params:
          json_.containsKey('params')
              ? json_['params'] as core.Map<core.String, core.dynamic>
              : null,
    );