Resource class Null safety

Constructors

Resource({Map<String, String>? labels, String? name, String? service, String? type})
Resource.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
labels Map<String, String>?
The service defined labels of the resource on which the conditions will be evaluated. [...]
read / write
name String?
Name of the resource on which conditions will be evaluated. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
service String?
The name of the service this resource belongs to. [...]
read / write
type String?
The public resource type name of the resource on which conditions will be evaluated. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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