CustomMetadata class final
User provided metadata stored as key-value pairs.
- Inheritance
-
- Object
- ProtoMessage
- CustomMetadata
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.Durationorgoogle.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 -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String