GroupVersionForDiscovery class

GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

Constructors

GroupVersionForDiscovery({required String groupVersion, required String version})
Default constructor.
const
GroupVersionForDiscovery.fromJson(Map<String, dynamic> json)
Creates a GroupVersionForDiscovery from JSON data.
factory

Properties

groupVersion String
groupVersion specifies the API group and version in the form "group/version".
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.
final

Methods

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

Operators

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