QueryRequestPayload.fromJson constructor

QueryRequestPayload.fromJson(
  1. Map json_
)

Implementation

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