| Index: generated/googleapis/lib/language/v1.dart
|
| diff --git a/generated/googleapis/lib/language/v1.dart b/generated/googleapis/lib/language/v1.dart
|
| index fb888d921e06c45e46f87b5e793554b5b7875675..eacff7d5cd5b9a2508d9e61f87c5a93c05e7efd0 100644
|
| --- a/generated/googleapis/lib/language/v1.dart
|
| +++ b/generated/googleapis/lib/language/v1.dart
|
| @@ -240,8 +240,8 @@ class AnalyzeEntitiesRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -274,8 +274,8 @@ class AnalyzeEntitiesResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (entities != null) {
|
| _json["entities"] = entities.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -322,8 +322,8 @@ class AnalyzeSentimentRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -361,8 +361,8 @@ class AnalyzeSentimentResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (documentSentiment != null) {
|
| _json["documentSentiment"] = (documentSentiment).toJson();
|
| }
|
| @@ -412,8 +412,8 @@ class AnalyzeSyntaxRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -451,8 +451,8 @@ class AnalyzeSyntaxResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (language != null) {
|
| _json["language"] = language;
|
| }
|
| @@ -510,8 +510,8 @@ class AnnotateTextRequest {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (document != null) {
|
| _json["document"] = (document).toJson();
|
| }
|
| @@ -576,8 +576,8 @@ class AnnotateTextResponse {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (documentSentiment != null) {
|
| _json["documentSentiment"] = (documentSentiment).toJson();
|
| }
|
| @@ -706,8 +706,8 @@ class DependencyEdge {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (headTokenIndex != null) {
|
| _json["headTokenIndex"] = headTokenIndex;
|
| }
|
| @@ -771,8 +771,8 @@ class Document {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (content != null) {
|
| _json["content"] = content;
|
| }
|
| @@ -852,8 +852,8 @@ class Entity {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (mentions != null) {
|
| _json["mentions"] = mentions.map((value) => (value).toJson()).toList();
|
| }
|
| @@ -900,8 +900,8 @@ class EntityMention {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (text != null) {
|
| _json["text"] = (text).toJson();
|
| }
|
| @@ -938,8 +938,8 @@ class Features {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (extractDocumentSentiment != null) {
|
| _json["extractDocumentSentiment"] = extractDocumentSentiment;
|
| }
|
| @@ -1155,8 +1155,8 @@ class PartOfSpeech {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (aspect != null) {
|
| _json["aspect"] = aspect;
|
| }
|
| @@ -1219,8 +1219,8 @@ class Sentence {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (sentiment != null) {
|
| _json["sentiment"] = (sentiment).toJson();
|
| }
|
| @@ -1259,8 +1259,8 @@ class Sentiment {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (magnitude != null) {
|
| _json["magnitude"] = magnitude;
|
| }
|
| @@ -1359,8 +1359,8 @@ class Status {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (code != null) {
|
| _json["code"] = code;
|
| }
|
| @@ -1395,8 +1395,8 @@ class TextSpan {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (beginOffset != null) {
|
| _json["beginOffset"] = beginOffset;
|
| }
|
| @@ -1437,8 +1437,8 @@ class Token {
|
| }
|
| }
|
|
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| if (dependencyEdge != null) {
|
| _json["dependencyEdge"] = (dependencyEdge).toJson();
|
| }
|
|
|