ObjectConditions.fromJson constructor

ObjectConditions.fromJson(
  1. Map json_
)

Implementation

ObjectConditions.fromJson(core.Map json_)
    : this(
        excludePrefixes: json_.containsKey('excludePrefixes')
            ? (json_['excludePrefixes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        includePrefixes: json_.containsKey('includePrefixes')
            ? (json_['includePrefixes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        lastModifiedBefore: json_.containsKey('lastModifiedBefore')
            ? json_['lastModifiedBefore'] as core.String
            : null,
        lastModifiedSince: json_.containsKey('lastModifiedSince')
            ? json_['lastModifiedSince'] as core.String
            : null,
        maxTimeElapsedSinceLastModification:
            json_.containsKey('maxTimeElapsedSinceLastModification')
                ? json_['maxTimeElapsedSinceLastModification'] as core.String
                : null,
        minTimeElapsedSinceLastModification:
            json_.containsKey('minTimeElapsedSinceLastModification')
                ? json_['minTimeElapsedSinceLastModification'] as core.String
                : null,
      );