PermissionsType constructor

PermissionsType({
  1. PermissionsType_CachePermissions? cachePermissions,
  2. PermissionsType_TopicPermissions? topicPermissions,
})

Implementation

factory PermissionsType({
  PermissionsType_CachePermissions? cachePermissions,
  PermissionsType_TopicPermissions? topicPermissions,
}) {
  final $result = create();
  if (cachePermissions != null) {
    $result.cachePermissions = cachePermissions;
  }
  if (topicPermissions != null) {
    $result.topicPermissions = topicPermissions;
  }
  return $result;
}