ComputeInsightsRequest.fromJson constructor

ComputeInsightsRequest.fromJson(
  1. Map json_
)

Implementation

ComputeInsightsRequest.fromJson(core.Map json_)
  : this(
      filter:
          json_.containsKey('filter')
              ? Filter.fromJson(
                json_['filter'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      insights:
          (json_['insights'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );