GoogleChromePolicyVersionsV1UploadedFileConstraints.fromJson constructor

GoogleChromePolicyVersionsV1UploadedFileConstraints.fromJson(
  1. Map json_
)

Implementation

GoogleChromePolicyVersionsV1UploadedFileConstraints.fromJson(core.Map json_)
    : this(
        sizeLimitBytes: json_.containsKey('sizeLimitBytes')
            ? json_['sizeLimitBytes'] as core.String
            : null,
        supportedContentTypes: json_.containsKey('supportedContentTypes')
            ? (json_['supportedContentTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );