Filter.fromJson constructor

Filter.fromJson(
  1. Map json_
)

Implementation

Filter.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        advancedDetails: json_.containsKey('advancedDetails')
            ? FilterAdvancedDetails.fromJson(json_['advancedDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        created: json_.containsKey('created')
            ? core.DateTime.parse(json_['created'] as core.String)
            : null,
        excludeDetails: json_.containsKey('excludeDetails')
            ? FilterExpression.fromJson(json_['excludeDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        includeDetails: json_.containsKey('includeDetails')
            ? FilterExpression.fromJson(json_['includeDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        lowercaseDetails: json_.containsKey('lowercaseDetails')
            ? FilterLowercaseDetails.fromJson(json_['lowercaseDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        parentLink: json_.containsKey('parentLink')
            ? FilterParentLink.fromJson(
                json_['parentLink'] as core.Map<core.String, core.dynamic>)
            : null,
        searchAndReplaceDetails: json_.containsKey('searchAndReplaceDetails')
            ? FilterSearchAndReplaceDetails.fromJson(
                json_['searchAndReplaceDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        updated: json_.containsKey('updated')
            ? core.DateTime.parse(json_['updated'] as core.String)
            : null,
        uppercaseDetails: json_.containsKey('uppercaseDetails')
            ? FilterUppercaseDetails.fromJson(json_['uppercaseDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
      );