SavedQuery.fromJson constructor

SavedQuery.fromJson(
  1. Map json_
)

Implementation

SavedQuery.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        matterId: json_.containsKey('matterId')
            ? json_['matterId'] as core.String
            : null,
        query: json_.containsKey('query')
            ? Query.fromJson(
                json_['query'] as core.Map<core.String, core.dynamic>)
            : null,
        savedQueryId: json_.containsKey('savedQueryId')
            ? json_['savedQueryId'] as core.String
            : null,
      );