Label class

Represents a generic name-value label.

A label has separate name and value fields to support filtering with the contains() function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).

Constructors

Label({String? name, String? value})
Label.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
Name of the label.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
Value that corresponds to the label's name.
getter/setter pair

Methods

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

Operators

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