ReplaceAccessLevelsRequest.fromJson constructor

ReplaceAccessLevelsRequest.fromJson(
  1. Map json_
)

Implementation

ReplaceAccessLevelsRequest.fromJson(core.Map json_)
    : this(
        accessLevels: json_.containsKey('accessLevels')
            ? (json_['accessLevels'] as core.List)
                .map((value) => AccessLevel.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
      );