GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints.fromJson constructor

GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints.fromJson(
    core.Map json_)
    : this(
        deviceLocation: json_.containsKey('deviceLocation')
            ? json_['deviceLocation'] as core.String
            : null,
        language: json_.containsKey('language')
            ? json_['language'] as core.String
            : null,
        maxDatabaseEntries: json_.containsKey('maxDatabaseEntries')
            ? json_['maxDatabaseEntries'] as core.int
            : null,
        maxUpdateEntries: json_.containsKey('maxUpdateEntries')
            ? json_['maxUpdateEntries'] as core.int
            : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        supportedCompressions: json_.containsKey('supportedCompressions')
            ? (json_['supportedCompressions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );