Query.fromJson constructor

Query.fromJson(
  1. Map json_
)

Implementation

Query.fromJson(core.Map json_)
    : this(
        metadata: json_.containsKey('metadata')
            ? QueryMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        params: json_.containsKey('params')
            ? Parameters.fromJson(
                json_['params'] as core.Map<core.String, core.dynamic>)
            : null,
        queryId: json_.containsKey('queryId')
            ? json_['queryId'] as core.String
            : null,
        schedule: json_.containsKey('schedule')
            ? QuerySchedule.fromJson(
                json_['schedule'] as core.Map<core.String, core.dynamic>)
            : null,
      );