Api class Null safety

A top-level description of an API.

Produced by producers and are commitments to provide services.


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_)


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.
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.
updateTime String?
Last update timestamp.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


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