AuthorizationInfo constructor

AuthorizationInfo({
  1. String? resource,
  2. String? permission,
  3. bool? granted,
  4. AttributeContext_Resource? resourceAttributes,
})

Implementation

factory AuthorizationInfo({
  $core.String? resource,
  $core.String? permission,
  $core.bool? granted,
  $43.AttributeContext_Resource? resourceAttributes,
}) {
  final $result = create();
  if (resource != null) {
    $result.resource = resource;
  }
  if (permission != null) {
    $result.permission = permission;
  }
  if (granted != null) {
    $result.granted = granted;
  }
  if (resourceAttributes != null) {
    $result.resourceAttributes = resourceAttributes;
  }
  return $result;
}