RequestAccessData.fromJson constructor

RequestAccessData.fromJson(
  1. Map json_
)

Implementation

RequestAccessData.fromJson(core.Map json_)
    : this(
        concurrentAccess: json_.containsKey('concurrentAccess')
            ? ConcurrentAccessRestriction.fromJson(json_['concurrentAccess']
                as core.Map<core.String, core.dynamic>)
            : null,
        downloadAccess: json_.containsKey('downloadAccess')
            ? DownloadAccessRestriction.fromJson(json_['downloadAccess']
                as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );