TestIamPermissionsResponse.fromJson constructor

TestIamPermissionsResponse.fromJson(
  1. Map _json
)

Implementation

TestIamPermissionsResponse.fromJson(core.Map _json)
    : this(
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        permissions: _json.containsKey('permissions')
            ? (_json['permissions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );