RecentQuery.fromJson constructor

RecentQuery.fromJson(
  1. Map json_
)

Implementation

RecentQuery.fromJson(core.Map json_)
    : this(
        lastRunTime: json_.containsKey('lastRunTime')
            ? json_['lastRunTime'] as core.String
            : null,
        loggingQuery: json_.containsKey('loggingQuery')
            ? LoggingQuery.fromJson(
                json_['loggingQuery'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        opsAnalyticsQuery: json_.containsKey('opsAnalyticsQuery')
            ? OpsAnalyticsQuery.fromJson(json_['opsAnalyticsQuery']
                as core.Map<core.String, core.dynamic>)
            : null,
      );