CustomMetadata class final

User provided metadata stored as key-value pairs.

Constructors

CustomMetadata({String? stringValue, StringList? stringListValue, double? numericValue, required String key})
CustomMetadata.fromJson(Object? j)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → String
Required. The key of the metadata to store.
final
numericValue → double?
The numeric value of the metadata to store.
final
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
stringListValue → StringList?
The StringList value of the metadata to store.
final
stringValue → String?
The string value of the metadata to store.
final

Methods

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

Operators

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

Constants

fullyQualifiedName → const String