Api class Null safety

This message defines attributes associated with API operations, such as a network API request.

The terminology is based on the conventions used by Google APIs, Istio, and OpenAPI.

Constructors

Api({String? operation, String? protocol, String? service, String? version})
Api.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
operation String?
The API operation name.
read / write
protocol String?
The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
service String?
The API service name.
read / write
version String?
The API version associated with the API operation above, such as "v1" or "v1alpha1".
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