toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final auth = this.auth;
  final basePath = this.basePath;
  final baseUrl = this.baseUrl;
  final batchPath = this.batchPath;
  final canonicalName = this.canonicalName;
  final description = this.description;
  final discoveryVersion = this.discoveryVersion;
  final documentationLink = this.documentationLink;
  final endpoints = this.endpoints;
  final etag = this.etag;
  final exponentialBackoffDefault = this.exponentialBackoffDefault;
  final features = this.features;
  final icons = this.icons;
  final id = this.id;
  final kind = this.kind;
  final labels = this.labels;
  final methods = this.methods;
  final name = this.name;
  final ownerDomain = this.ownerDomain;
  final ownerName = this.ownerName;
  final packagePath = this.packagePath;
  final parameters = this.parameters;
  final protocol = this.protocol;
  final resources = this.resources;
  final revision = this.revision;
  final rootUrl = this.rootUrl;
  final schemas = this.schemas;
  final servicePath = this.servicePath;
  final title = this.title;
  final version = this.version;
  final versionModule = this.versionModule;
  return {
    'auth': ?auth,
    'basePath': ?basePath,
    'baseUrl': ?baseUrl,
    'batchPath': ?batchPath,
    'canonicalName': ?canonicalName,
    'description': ?description,
    'discoveryVersion': ?discoveryVersion,
    'documentationLink': ?documentationLink,
    'endpoints': ?endpoints,
    'etag': ?etag,
    'exponentialBackoffDefault': ?exponentialBackoffDefault,
    'features': ?features,
    'icons': ?icons,
    'id': ?id,
    'kind': ?kind,
    'labels': ?labels,
    'methods': ?methods,
    'name': ?name,
    'ownerDomain': ?ownerDomain,
    'ownerName': ?ownerName,
    'packagePath': ?packagePath,
    'parameters': ?parameters,
    'protocol': ?protocol,
    'resources': ?resources,
    'revision': ?revision,
    'rootUrl': ?rootUrl,
    'schemas': ?schemas,
    'servicePath': ?servicePath,
    'title': ?title,
    'version': ?version,
    'version_module': ?versionModule,
  };
}