Api class Null safety

A top-level description of an API.

Produced by producers and are commitments to provide services.

Constructors

Api({Map<String, String>? annotations, String? availability, String? createTime, String? description, String? displayName, Map<String, String>? labels, String? name, String? recommendedDeployment, String? recommendedVersion, String? updateTime})
Api.fromJson(Map json_)

Properties

annotations Map<String, String>?
Annotations attach non-identifying metadata to resources.
read / write
availability String?
A user-definable description of the availability of this service.
read / write
createTime String?
Creation timestamp.
read / write
description String?
A detailed description.
read / write
displayName String?
Human-meaningful name.
read / write
hashCode int
The hash code for this object.
read-only, inherited
labels Map<String, String>?
Labels attach identifying metadata to resources.
read / write
name String?
Resource name.
read / write
recommendedDeployment String?
The recommended deployment of the API.
read / write
recommendedVersion String?
The recommended version of the API.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updateTime String?
Last update timestamp.
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