ScaleSpec class

ScaleSpec describes the attributes of a scale subresource.

Constructors

ScaleSpec({int? replicas})
Default constructor.
const
ScaleSpec.fromJson(Map<String, dynamic> json)
Creates a ScaleSpec from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
replicas int?
replicas is the desired number of instances for the scaled object.
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 ScaleSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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