RestDescription class Null safety

Constructors

RestDescription({RestDescriptionAuth? auth, String? basePath, String? baseUrl, String? batchPath, String? canonicalName, String? description, String? discoveryVersion, String? documentationLink, String? etag, bool? exponentialBackoffDefault, List<String>? features, RestDescriptionIcons? icons, String? id, String? kind, List<String>? labels, Map<String, RestMethod>? methods, String? name, String? ownerDomain, String? ownerName, String? packagePath, Map<String, JsonSchema>? parameters, String? protocol, Map<String, RestResource>? resources, String? revision, String? rootUrl, Map<String, JsonSchema>? schemas, String? servicePath, String? title, String? version, bool? versionModule})
RestDescription.fromJson(Map _json)

Properties

auth RestDescriptionAuth?
Authentication information.
read / write
basePath String?
The base path for REST requests. [...]
read / write
baseUrl String?
The base URL for REST requests. [...]
read / write
batchPath String?
The path for REST batch requests.
read / write
canonicalName String?
Indicates how the API name should be capitalized and split into various parts. [...]
read / write
description String?
The description of this API.
read / write
discoveryVersion String?
Indicate the version of the Discovery API used to generate this doc.
read / write
A link to human readable documentation for the API.
read / write
etag String?
The ETag for this response.
read / write
exponentialBackoffDefault bool?
Enable exponential backoff for suitable methods in the generated clients.
read / write
features List<String>?
A list of supported features for this API.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
icons RestDescriptionIcons?
Links to 16x16 and 32x32 icons representing the API.
read / write
id String?
The ID of this API.
read / write
kind String?
The kind for this response.
read / write
labels List<String>?
Labels for the status of this API, such as labs or deprecated.
read / write
methods Map<String, RestMethod>?
API-level methods for this API.
read / write
name String?
The name of this API.
read / write
ownerDomain String?
The domain of the owner of this API. [...]
read / write
ownerName String?
The name of the owner of this API. [...]
read / write
packagePath String?
The package of the owner of this API. [...]
read / write
parameters Map<String, JsonSchema>?
Common parameters that apply across all apis.
read / write
protocol String?
The protocol described by this document.
read / write
resources Map<String, RestResource>?
The resources in this API.
read / write
revision String?
The version of this API.
read / write
rootUrl String?
The root URL under which all API services live.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schemas Map<String, JsonSchema>?
The schemas for this API.
read / write
servicePath String?
The base path for all REST requests.
read / write
title String?
The title of this API.
read / write
version String?
The version of this API.
read / write
versionModule bool?
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