VisibilityRule class final

A visibility rule provides visibility configuration for an individual API element.

Inheritance
  • Object
  • ProtoMessage
  • VisibilityRule

Constructors

VisibilityRule({String selector = '', String restriction = ''})
VisibilityRule.fromJson(Object? j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
restriction String
A comma-separated list of visibility labels that apply to the selector. Any of the listed labels can be used to grant the visibility.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector String
Selects methods, messages, fields, enums, etc. to which this rule applies.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String