MaterializedViewDefinition.fromJson constructor

MaterializedViewDefinition.fromJson(
  1. Map json_
)

Implementation

MaterializedViewDefinition.fromJson(core.Map json_)
    : this(
        allowNonIncrementalDefinition:
            json_.containsKey('allowNonIncrementalDefinition')
                ? json_['allowNonIncrementalDefinition'] as core.bool
                : null,
        enableRefresh: json_.containsKey('enableRefresh')
            ? json_['enableRefresh'] as core.bool
            : null,
        lastRefreshTime: json_.containsKey('lastRefreshTime')
            ? json_['lastRefreshTime'] as core.String
            : null,
        maxStaleness: json_.containsKey('maxStaleness')
            ? json_['maxStaleness'] as core.String
            : null,
        query:
            json_.containsKey('query') ? json_['query'] as core.String : null,
        refreshIntervalMs: json_.containsKey('refreshIntervalMs')
            ? json_['refreshIntervalMs'] as core.String
            : null,
      );