ResourceReference class final

Defines a proto annotation that describes a string field that refers to an API resource.

Inheritance
  • Object
  • ProtoMessage
  • ResourceReference

Constructors

ResourceReference({String type = '', String childType = ''})
ResourceReference.fromJson(Object? j)
factory

Properties

childType String
The resource type of a child collection that the annotated field references. This is useful for annotating the parent field that doesn't have a fixed resource type.
final
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The resource type that the annotated field references.
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