QueryResponsePayload.fromJson constructor

QueryResponsePayload.fromJson(
  1. Map json_
)

Implementation

QueryResponsePayload.fromJson(core.Map json_)
    : this(
        devices: json_.containsKey('devices')
            ? (json_['devices'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
            : null,
      );