TypedLocalObjectReference class
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
Constructors
- TypedLocalObjectReference({String? apiGroup, required String kind, required String name})
-
Default constructor.
const
-
TypedLocalObjectReference.fromJson(Map<
String, dynamic> json) -
Creates a TypedLocalObjectReference from JSON data.
factory
Properties
- apiGroup → String?
-
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Kind is the type of resource being referenced.
final
- name → String
-
Name is the name of resource being referenced.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a TypedLocalObjectReference instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited