| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.fusiontables.v1; | 3 library googleapis.fusiontables.v1; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 min = _json["min"]; | 1723 min = _json["min"]; |
| 1724 } | 1724 } |
| 1725 if (_json.containsKey("opacity")) { | 1725 if (_json.containsKey("opacity")) { |
| 1726 opacity = _json["opacity"]; | 1726 opacity = _json["opacity"]; |
| 1727 } | 1727 } |
| 1728 if (_json.containsKey("weight")) { | 1728 if (_json.containsKey("weight")) { |
| 1729 weight = _json["weight"]; | 1729 weight = _json["weight"]; |
| 1730 } | 1730 } |
| 1731 } | 1731 } |
| 1732 | 1732 |
| 1733 core.Map toJson() { | 1733 core.Map<core.String, core.Object> toJson() { |
| 1734 var _json = new core.Map(); | 1734 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1735 if (color != null) { | 1735 if (color != null) { |
| 1736 _json["color"] = color; | 1736 _json["color"] = color; |
| 1737 } | 1737 } |
| 1738 if (icon != null) { | 1738 if (icon != null) { |
| 1739 _json["icon"] = icon; | 1739 _json["icon"] = icon; |
| 1740 } | 1740 } |
| 1741 if (max != null) { | 1741 if (max != null) { |
| 1742 _json["max"] = max; | 1742 _json["max"] = max; |
| 1743 } | 1743 } |
| 1744 if (min != null) { | 1744 if (min != null) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1772 | 1772 |
| 1773 ColumnBaseColumn.fromJson(core.Map _json) { | 1773 ColumnBaseColumn.fromJson(core.Map _json) { |
| 1774 if (_json.containsKey("columnId")) { | 1774 if (_json.containsKey("columnId")) { |
| 1775 columnId = _json["columnId"]; | 1775 columnId = _json["columnId"]; |
| 1776 } | 1776 } |
| 1777 if (_json.containsKey("tableIndex")) { | 1777 if (_json.containsKey("tableIndex")) { |
| 1778 tableIndex = _json["tableIndex"]; | 1778 tableIndex = _json["tableIndex"]; |
| 1779 } | 1779 } |
| 1780 } | 1780 } |
| 1781 | 1781 |
| 1782 core.Map toJson() { | 1782 core.Map<core.String, core.Object> toJson() { |
| 1783 var _json = new core.Map(); | 1783 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1784 if (columnId != null) { | 1784 if (columnId != null) { |
| 1785 _json["columnId"] = columnId; | 1785 _json["columnId"] = columnId; |
| 1786 } | 1786 } |
| 1787 if (tableIndex != null) { | 1787 if (tableIndex != null) { |
| 1788 _json["tableIndex"] = tableIndex; | 1788 _json["tableIndex"] = tableIndex; |
| 1789 } | 1789 } |
| 1790 return _json; | 1790 return _json; |
| 1791 } | 1791 } |
| 1792 } | 1792 } |
| 1793 | 1793 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1834 kind = _json["kind"]; | 1834 kind = _json["kind"]; |
| 1835 } | 1835 } |
| 1836 if (_json.containsKey("name")) { | 1836 if (_json.containsKey("name")) { |
| 1837 name = _json["name"]; | 1837 name = _json["name"]; |
| 1838 } | 1838 } |
| 1839 if (_json.containsKey("type")) { | 1839 if (_json.containsKey("type")) { |
| 1840 type = _json["type"]; | 1840 type = _json["type"]; |
| 1841 } | 1841 } |
| 1842 } | 1842 } |
| 1843 | 1843 |
| 1844 core.Map toJson() { | 1844 core.Map<core.String, core.Object> toJson() { |
| 1845 var _json = new core.Map(); | 1845 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1846 if (baseColumn != null) { | 1846 if (baseColumn != null) { |
| 1847 _json["baseColumn"] = (baseColumn).toJson(); | 1847 _json["baseColumn"] = (baseColumn).toJson(); |
| 1848 } | 1848 } |
| 1849 if (columnId != null) { | 1849 if (columnId != null) { |
| 1850 _json["columnId"] = columnId; | 1850 _json["columnId"] = columnId; |
| 1851 } | 1851 } |
| 1852 if (description != null) { | 1852 if (description != null) { |
| 1853 _json["description"] = description; | 1853 _json["description"] = description; |
| 1854 } | 1854 } |
| 1855 if (graphPredicate != null) { | 1855 if (graphPredicate != null) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1892 kind = _json["kind"]; | 1892 kind = _json["kind"]; |
| 1893 } | 1893 } |
| 1894 if (_json.containsKey("nextPageToken")) { | 1894 if (_json.containsKey("nextPageToken")) { |
| 1895 nextPageToken = _json["nextPageToken"]; | 1895 nextPageToken = _json["nextPageToken"]; |
| 1896 } | 1896 } |
| 1897 if (_json.containsKey("totalItems")) { | 1897 if (_json.containsKey("totalItems")) { |
| 1898 totalItems = _json["totalItems"]; | 1898 totalItems = _json["totalItems"]; |
| 1899 } | 1899 } |
| 1900 } | 1900 } |
| 1901 | 1901 |
| 1902 core.Map toJson() { | 1902 core.Map<core.String, core.Object> toJson() { |
| 1903 var _json = new core.Map(); | 1903 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1904 if (items != null) { | 1904 if (items != null) { |
| 1905 _json["items"] = items.map((value) => (value).toJson()).toList(); | 1905 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 1906 } | 1906 } |
| 1907 if (kind != null) { | 1907 if (kind != null) { |
| 1908 _json["kind"] = kind; | 1908 _json["kind"] = kind; |
| 1909 } | 1909 } |
| 1910 if (nextPageToken != null) { | 1910 if (nextPageToken != null) { |
| 1911 _json["nextPageToken"] = nextPageToken; | 1911 _json["nextPageToken"] = nextPageToken; |
| 1912 } | 1912 } |
| 1913 if (totalItems != null) { | 1913 if (totalItems != null) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1943 geometries = _json["geometries"]; | 1943 geometries = _json["geometries"]; |
| 1944 } | 1944 } |
| 1945 if (_json.containsKey("geometry")) { | 1945 if (_json.containsKey("geometry")) { |
| 1946 geometry = _json["geometry"]; | 1946 geometry = _json["geometry"]; |
| 1947 } | 1947 } |
| 1948 if (_json.containsKey("type")) { | 1948 if (_json.containsKey("type")) { |
| 1949 type = _json["type"]; | 1949 type = _json["type"]; |
| 1950 } | 1950 } |
| 1951 } | 1951 } |
| 1952 | 1952 |
| 1953 core.Map toJson() { | 1953 core.Map<core.String, core.Object> toJson() { |
| 1954 var _json = new core.Map(); | 1954 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1955 if (geometries != null) { | 1955 if (geometries != null) { |
| 1956 _json["geometries"] = geometries; | 1956 _json["geometries"] = geometries; |
| 1957 } | 1957 } |
| 1958 if (geometry != null) { | 1958 if (geometry != null) { |
| 1959 _json["geometry"] = geometry; | 1959 _json["geometry"] = geometry; |
| 1960 } | 1960 } |
| 1961 if (type != null) { | 1961 if (type != null) { |
| 1962 _json["type"] = type; | 1962 _json["type"] = type; |
| 1963 } | 1963 } |
| 1964 return _json; | 1964 return _json; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1976 | 1976 |
| 1977 Import.fromJson(core.Map _json) { | 1977 Import.fromJson(core.Map _json) { |
| 1978 if (_json.containsKey("kind")) { | 1978 if (_json.containsKey("kind")) { |
| 1979 kind = _json["kind"]; | 1979 kind = _json["kind"]; |
| 1980 } | 1980 } |
| 1981 if (_json.containsKey("numRowsReceived")) { | 1981 if (_json.containsKey("numRowsReceived")) { |
| 1982 numRowsReceived = _json["numRowsReceived"]; | 1982 numRowsReceived = _json["numRowsReceived"]; |
| 1983 } | 1983 } |
| 1984 } | 1984 } |
| 1985 | 1985 |
| 1986 core.Map toJson() { | 1986 core.Map<core.String, core.Object> toJson() { |
| 1987 var _json = new core.Map(); | 1987 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1988 if (kind != null) { | 1988 if (kind != null) { |
| 1989 _json["kind"] = kind; | 1989 _json["kind"] = kind; |
| 1990 } | 1990 } |
| 1991 if (numRowsReceived != null) { | 1991 if (numRowsReceived != null) { |
| 1992 _json["numRowsReceived"] = numRowsReceived; | 1992 _json["numRowsReceived"] = numRowsReceived; |
| 1993 } | 1993 } |
| 1994 return _json; | 1994 return _json; |
| 1995 } | 1995 } |
| 1996 } | 1996 } |
| 1997 | 1997 |
| 1998 /** Represents a line geometry. */ | 1998 /** Represents a line geometry. */ |
| 1999 class Line { | 1999 class Line { |
| 2000 /** The coordinates that define the line. */ | 2000 /** The coordinates that define the line. */ |
| 2001 core.List<core.List<core.double>> coordinates; | 2001 core.List<core.List<core.double>> coordinates; |
| 2002 /** Type: A line geometry. */ | 2002 /** Type: A line geometry. */ |
| 2003 core.String type; | 2003 core.String type; |
| 2004 | 2004 |
| 2005 Line(); | 2005 Line(); |
| 2006 | 2006 |
| 2007 Line.fromJson(core.Map _json) { | 2007 Line.fromJson(core.Map _json) { |
| 2008 if (_json.containsKey("coordinates")) { | 2008 if (_json.containsKey("coordinates")) { |
| 2009 coordinates = _json["coordinates"]; | 2009 coordinates = _json["coordinates"]; |
| 2010 } | 2010 } |
| 2011 if (_json.containsKey("type")) { | 2011 if (_json.containsKey("type")) { |
| 2012 type = _json["type"]; | 2012 type = _json["type"]; |
| 2013 } | 2013 } |
| 2014 } | 2014 } |
| 2015 | 2015 |
| 2016 core.Map toJson() { | 2016 core.Map<core.String, core.Object> toJson() { |
| 2017 var _json = new core.Map(); | 2017 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2018 if (coordinates != null) { | 2018 if (coordinates != null) { |
| 2019 _json["coordinates"] = coordinates; | 2019 _json["coordinates"] = coordinates; |
| 2020 } | 2020 } |
| 2021 if (type != null) { | 2021 if (type != null) { |
| 2022 _json["type"] = type; | 2022 _json["type"] = type; |
| 2023 } | 2023 } |
| 2024 return _json; | 2024 return _json; |
| 2025 } | 2025 } |
| 2026 } | 2026 } |
| 2027 | 2027 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 2057 strokeOpacity = _json["strokeOpacity"]; | 2057 strokeOpacity = _json["strokeOpacity"]; |
| 2058 } | 2058 } |
| 2059 if (_json.containsKey("strokeWeight")) { | 2059 if (_json.containsKey("strokeWeight")) { |
| 2060 strokeWeight = _json["strokeWeight"]; | 2060 strokeWeight = _json["strokeWeight"]; |
| 2061 } | 2061 } |
| 2062 if (_json.containsKey("strokeWeightStyler")) { | 2062 if (_json.containsKey("strokeWeightStyler")) { |
| 2063 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler"
]); | 2063 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler"
]); |
| 2064 } | 2064 } |
| 2065 } | 2065 } |
| 2066 | 2066 |
| 2067 core.Map toJson() { | 2067 core.Map<core.String, core.Object> toJson() { |
| 2068 var _json = new core.Map(); | 2068 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2069 if (strokeColor != null) { | 2069 if (strokeColor != null) { |
| 2070 _json["strokeColor"] = strokeColor; | 2070 _json["strokeColor"] = strokeColor; |
| 2071 } | 2071 } |
| 2072 if (strokeColorStyler != null) { | 2072 if (strokeColorStyler != null) { |
| 2073 _json["strokeColorStyler"] = (strokeColorStyler).toJson(); | 2073 _json["strokeColorStyler"] = (strokeColorStyler).toJson(); |
| 2074 } | 2074 } |
| 2075 if (strokeOpacity != null) { | 2075 if (strokeOpacity != null) { |
| 2076 _json["strokeOpacity"] = strokeOpacity; | 2076 _json["strokeOpacity"] = strokeOpacity; |
| 2077 } | 2077 } |
| 2078 if (strokeWeight != null) { | 2078 if (strokeWeight != null) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 2096 | 2096 |
| 2097 Point.fromJson(core.Map _json) { | 2097 Point.fromJson(core.Map _json) { |
| 2098 if (_json.containsKey("coordinates")) { | 2098 if (_json.containsKey("coordinates")) { |
| 2099 coordinates = _json["coordinates"]; | 2099 coordinates = _json["coordinates"]; |
| 2100 } | 2100 } |
| 2101 if (_json.containsKey("type")) { | 2101 if (_json.containsKey("type")) { |
| 2102 type = _json["type"]; | 2102 type = _json["type"]; |
| 2103 } | 2103 } |
| 2104 } | 2104 } |
| 2105 | 2105 |
| 2106 core.Map toJson() { | 2106 core.Map<core.String, core.Object> toJson() { |
| 2107 var _json = new core.Map(); | 2107 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2108 if (coordinates != null) { | 2108 if (coordinates != null) { |
| 2109 _json["coordinates"] = coordinates; | 2109 _json["coordinates"] = coordinates; |
| 2110 } | 2110 } |
| 2111 if (type != null) { | 2111 if (type != null) { |
| 2112 _json["type"] = type; | 2112 _json["type"] = type; |
| 2113 } | 2113 } |
| 2114 return _json; | 2114 return _json; |
| 2115 } | 2115 } |
| 2116 } | 2116 } |
| 2117 | 2117 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2129 | 2129 |
| 2130 PointStyle.fromJson(core.Map _json) { | 2130 PointStyle.fromJson(core.Map _json) { |
| 2131 if (_json.containsKey("iconName")) { | 2131 if (_json.containsKey("iconName")) { |
| 2132 iconName = _json["iconName"]; | 2132 iconName = _json["iconName"]; |
| 2133 } | 2133 } |
| 2134 if (_json.containsKey("iconStyler")) { | 2134 if (_json.containsKey("iconStyler")) { |
| 2135 iconStyler = new StyleFunction.fromJson(_json["iconStyler"]); | 2135 iconStyler = new StyleFunction.fromJson(_json["iconStyler"]); |
| 2136 } | 2136 } |
| 2137 } | 2137 } |
| 2138 | 2138 |
| 2139 core.Map toJson() { | 2139 core.Map<core.String, core.Object> toJson() { |
| 2140 var _json = new core.Map(); | 2140 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2141 if (iconName != null) { | 2141 if (iconName != null) { |
| 2142 _json["iconName"] = iconName; | 2142 _json["iconName"] = iconName; |
| 2143 } | 2143 } |
| 2144 if (iconStyler != null) { | 2144 if (iconStyler != null) { |
| 2145 _json["iconStyler"] = (iconStyler).toJson(); | 2145 _json["iconStyler"] = (iconStyler).toJson(); |
| 2146 } | 2146 } |
| 2147 return _json; | 2147 return _json; |
| 2148 } | 2148 } |
| 2149 } | 2149 } |
| 2150 | 2150 |
| 2151 /** Represents a polygon object. */ | 2151 /** Represents a polygon object. */ |
| 2152 class Polygon { | 2152 class Polygon { |
| 2153 /** The coordinates that define the polygon. */ | 2153 /** The coordinates that define the polygon. */ |
| 2154 core.List<core.List<core.List<core.double>>> coordinates; | 2154 core.List<core.List<core.List<core.double>>> coordinates; |
| 2155 /** Type: A polygon geometry. */ | 2155 /** Type: A polygon geometry. */ |
| 2156 core.String type; | 2156 core.String type; |
| 2157 | 2157 |
| 2158 Polygon(); | 2158 Polygon(); |
| 2159 | 2159 |
| 2160 Polygon.fromJson(core.Map _json) { | 2160 Polygon.fromJson(core.Map _json) { |
| 2161 if (_json.containsKey("coordinates")) { | 2161 if (_json.containsKey("coordinates")) { |
| 2162 coordinates = _json["coordinates"]; | 2162 coordinates = _json["coordinates"]; |
| 2163 } | 2163 } |
| 2164 if (_json.containsKey("type")) { | 2164 if (_json.containsKey("type")) { |
| 2165 type = _json["type"]; | 2165 type = _json["type"]; |
| 2166 } | 2166 } |
| 2167 } | 2167 } |
| 2168 | 2168 |
| 2169 core.Map toJson() { | 2169 core.Map<core.String, core.Object> toJson() { |
| 2170 var _json = new core.Map(); | 2170 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2171 if (coordinates != null) { | 2171 if (coordinates != null) { |
| 2172 _json["coordinates"] = coordinates; | 2172 _json["coordinates"] = coordinates; |
| 2173 } | 2173 } |
| 2174 if (type != null) { | 2174 if (type != null) { |
| 2175 _json["type"] = type; | 2175 _json["type"] = type; |
| 2176 } | 2176 } |
| 2177 return _json; | 2177 return _json; |
| 2178 } | 2178 } |
| 2179 } | 2179 } |
| 2180 | 2180 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2230 strokeOpacity = _json["strokeOpacity"]; | 2230 strokeOpacity = _json["strokeOpacity"]; |
| 2231 } | 2231 } |
| 2232 if (_json.containsKey("strokeWeight")) { | 2232 if (_json.containsKey("strokeWeight")) { |
| 2233 strokeWeight = _json["strokeWeight"]; | 2233 strokeWeight = _json["strokeWeight"]; |
| 2234 } | 2234 } |
| 2235 if (_json.containsKey("strokeWeightStyler")) { | 2235 if (_json.containsKey("strokeWeightStyler")) { |
| 2236 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler"
]); | 2236 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler"
]); |
| 2237 } | 2237 } |
| 2238 } | 2238 } |
| 2239 | 2239 |
| 2240 core.Map toJson() { | 2240 core.Map<core.String, core.Object> toJson() { |
| 2241 var _json = new core.Map(); | 2241 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2242 if (fillColor != null) { | 2242 if (fillColor != null) { |
| 2243 _json["fillColor"] = fillColor; | 2243 _json["fillColor"] = fillColor; |
| 2244 } | 2244 } |
| 2245 if (fillColorStyler != null) { | 2245 if (fillColorStyler != null) { |
| 2246 _json["fillColorStyler"] = (fillColorStyler).toJson(); | 2246 _json["fillColorStyler"] = (fillColorStyler).toJson(); |
| 2247 } | 2247 } |
| 2248 if (fillOpacity != null) { | 2248 if (fillOpacity != null) { |
| 2249 _json["fillOpacity"] = fillOpacity; | 2249 _json["fillOpacity"] = fillOpacity; |
| 2250 } | 2250 } |
| 2251 if (strokeColor != null) { | 2251 if (strokeColor != null) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2290 columns = _json["columns"]; | 2290 columns = _json["columns"]; |
| 2291 } | 2291 } |
| 2292 if (_json.containsKey("kind")) { | 2292 if (_json.containsKey("kind")) { |
| 2293 kind = _json["kind"]; | 2293 kind = _json["kind"]; |
| 2294 } | 2294 } |
| 2295 if (_json.containsKey("rows")) { | 2295 if (_json.containsKey("rows")) { |
| 2296 rows = _json["rows"]; | 2296 rows = _json["rows"]; |
| 2297 } | 2297 } |
| 2298 } | 2298 } |
| 2299 | 2299 |
| 2300 core.Map toJson() { | 2300 core.Map<core.String, core.Object> toJson() { |
| 2301 var _json = new core.Map(); | 2301 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2302 if (columns != null) { | 2302 if (columns != null) { |
| 2303 _json["columns"] = columns; | 2303 _json["columns"] = columns; |
| 2304 } | 2304 } |
| 2305 if (kind != null) { | 2305 if (kind != null) { |
| 2306 _json["kind"] = kind; | 2306 _json["kind"] = kind; |
| 2307 } | 2307 } |
| 2308 if (rows != null) { | 2308 if (rows != null) { |
| 2309 _json["rows"] = rows; | 2309 _json["rows"] = rows; |
| 2310 } | 2310 } |
| 2311 return _json; | 2311 return _json; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2322 | 2322 |
| 2323 StyleFunctionGradientColors.fromJson(core.Map _json) { | 2323 StyleFunctionGradientColors.fromJson(core.Map _json) { |
| 2324 if (_json.containsKey("color")) { | 2324 if (_json.containsKey("color")) { |
| 2325 color = _json["color"]; | 2325 color = _json["color"]; |
| 2326 } | 2326 } |
| 2327 if (_json.containsKey("opacity")) { | 2327 if (_json.containsKey("opacity")) { |
| 2328 opacity = _json["opacity"]; | 2328 opacity = _json["opacity"]; |
| 2329 } | 2329 } |
| 2330 } | 2330 } |
| 2331 | 2331 |
| 2332 core.Map toJson() { | 2332 core.Map<core.String, core.Object> toJson() { |
| 2333 var _json = new core.Map(); | 2333 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2334 if (color != null) { | 2334 if (color != null) { |
| 2335 _json["color"] = color; | 2335 _json["color"] = color; |
| 2336 } | 2336 } |
| 2337 if (opacity != null) { | 2337 if (opacity != null) { |
| 2338 _json["opacity"] = opacity; | 2338 _json["opacity"] = opacity; |
| 2339 } | 2339 } |
| 2340 return _json; | 2340 return _json; |
| 2341 } | 2341 } |
| 2342 } | 2342 } |
| 2343 | 2343 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 2365 colors = _json["colors"].map((value) => new StyleFunctionGradientColors.fr
omJson(value)).toList(); | 2365 colors = _json["colors"].map((value) => new StyleFunctionGradientColors.fr
omJson(value)).toList(); |
| 2366 } | 2366 } |
| 2367 if (_json.containsKey("max")) { | 2367 if (_json.containsKey("max")) { |
| 2368 max = _json["max"]; | 2368 max = _json["max"]; |
| 2369 } | 2369 } |
| 2370 if (_json.containsKey("min")) { | 2370 if (_json.containsKey("min")) { |
| 2371 min = _json["min"]; | 2371 min = _json["min"]; |
| 2372 } | 2372 } |
| 2373 } | 2373 } |
| 2374 | 2374 |
| 2375 core.Map toJson() { | 2375 core.Map<core.String, core.Object> toJson() { |
| 2376 var _json = new core.Map(); | 2376 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2377 if (colors != null) { | 2377 if (colors != null) { |
| 2378 _json["colors"] = colors.map((value) => (value).toJson()).toList(); | 2378 _json["colors"] = colors.map((value) => (value).toJson()).toList(); |
| 2379 } | 2379 } |
| 2380 if (max != null) { | 2380 if (max != null) { |
| 2381 _json["max"] = max; | 2381 _json["max"] = max; |
| 2382 } | 2382 } |
| 2383 if (min != null) { | 2383 if (min != null) { |
| 2384 _json["min"] = min; | 2384 _json["min"] = min; |
| 2385 } | 2385 } |
| 2386 return _json; | 2386 return _json; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2422 columnName = _json["columnName"]; | 2422 columnName = _json["columnName"]; |
| 2423 } | 2423 } |
| 2424 if (_json.containsKey("gradient")) { | 2424 if (_json.containsKey("gradient")) { |
| 2425 gradient = new StyleFunctionGradient.fromJson(_json["gradient"]); | 2425 gradient = new StyleFunctionGradient.fromJson(_json["gradient"]); |
| 2426 } | 2426 } |
| 2427 if (_json.containsKey("kind")) { | 2427 if (_json.containsKey("kind")) { |
| 2428 kind = _json["kind"]; | 2428 kind = _json["kind"]; |
| 2429 } | 2429 } |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 core.Map toJson() { | 2432 core.Map<core.String, core.Object> toJson() { |
| 2433 var _json = new core.Map(); | 2433 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2434 if (buckets != null) { | 2434 if (buckets != null) { |
| 2435 _json["buckets"] = buckets.map((value) => (value).toJson()).toList(); | 2435 _json["buckets"] = buckets.map((value) => (value).toJson()).toList(); |
| 2436 } | 2436 } |
| 2437 if (columnName != null) { | 2437 if (columnName != null) { |
| 2438 _json["columnName"] = columnName; | 2438 _json["columnName"] = columnName; |
| 2439 } | 2439 } |
| 2440 if (gradient != null) { | 2440 if (gradient != null) { |
| 2441 _json["gradient"] = (gradient).toJson(); | 2441 _json["gradient"] = (gradient).toJson(); |
| 2442 } | 2442 } |
| 2443 if (kind != null) { | 2443 if (kind != null) { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2491 polylineOptions = new LineStyle.fromJson(_json["polylineOptions"]); | 2491 polylineOptions = new LineStyle.fromJson(_json["polylineOptions"]); |
| 2492 } | 2492 } |
| 2493 if (_json.containsKey("styleId")) { | 2493 if (_json.containsKey("styleId")) { |
| 2494 styleId = _json["styleId"]; | 2494 styleId = _json["styleId"]; |
| 2495 } | 2495 } |
| 2496 if (_json.containsKey("tableId")) { | 2496 if (_json.containsKey("tableId")) { |
| 2497 tableId = _json["tableId"]; | 2497 tableId = _json["tableId"]; |
| 2498 } | 2498 } |
| 2499 } | 2499 } |
| 2500 | 2500 |
| 2501 core.Map toJson() { | 2501 core.Map<core.String, core.Object> toJson() { |
| 2502 var _json = new core.Map(); | 2502 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2503 if (kind != null) { | 2503 if (kind != null) { |
| 2504 _json["kind"] = kind; | 2504 _json["kind"] = kind; |
| 2505 } | 2505 } |
| 2506 if (markerOptions != null) { | 2506 if (markerOptions != null) { |
| 2507 _json["markerOptions"] = (markerOptions).toJson(); | 2507 _json["markerOptions"] = (markerOptions).toJson(); |
| 2508 } | 2508 } |
| 2509 if (name != null) { | 2509 if (name != null) { |
| 2510 _json["name"] = name; | 2510 _json["name"] = name; |
| 2511 } | 2511 } |
| 2512 if (polygonOptions != null) { | 2512 if (polygonOptions != null) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2549 kind = _json["kind"]; | 2549 kind = _json["kind"]; |
| 2550 } | 2550 } |
| 2551 if (_json.containsKey("nextPageToken")) { | 2551 if (_json.containsKey("nextPageToken")) { |
| 2552 nextPageToken = _json["nextPageToken"]; | 2552 nextPageToken = _json["nextPageToken"]; |
| 2553 } | 2553 } |
| 2554 if (_json.containsKey("totalItems")) { | 2554 if (_json.containsKey("totalItems")) { |
| 2555 totalItems = _json["totalItems"]; | 2555 totalItems = _json["totalItems"]; |
| 2556 } | 2556 } |
| 2557 } | 2557 } |
| 2558 | 2558 |
| 2559 core.Map toJson() { | 2559 core.Map<core.String, core.Object> toJson() { |
| 2560 var _json = new core.Map(); | 2560 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2561 if (items != null) { | 2561 if (items != null) { |
| 2562 _json["items"] = items.map((value) => (value).toJson()).toList(); | 2562 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 2563 } | 2563 } |
| 2564 if (kind != null) { | 2564 if (kind != null) { |
| 2565 _json["kind"] = kind; | 2565 _json["kind"] = kind; |
| 2566 } | 2566 } |
| 2567 if (nextPageToken != null) { | 2567 if (nextPageToken != null) { |
| 2568 _json["nextPageToken"] = nextPageToken; | 2568 _json["nextPageToken"] = nextPageToken; |
| 2569 } | 2569 } |
| 2570 if (totalItems != null) { | 2570 if (totalItems != null) { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2630 name = _json["name"]; | 2630 name = _json["name"]; |
| 2631 } | 2631 } |
| 2632 if (_json.containsKey("sql")) { | 2632 if (_json.containsKey("sql")) { |
| 2633 sql = _json["sql"]; | 2633 sql = _json["sql"]; |
| 2634 } | 2634 } |
| 2635 if (_json.containsKey("tableId")) { | 2635 if (_json.containsKey("tableId")) { |
| 2636 tableId = _json["tableId"]; | 2636 tableId = _json["tableId"]; |
| 2637 } | 2637 } |
| 2638 } | 2638 } |
| 2639 | 2639 |
| 2640 core.Map toJson() { | 2640 core.Map<core.String, core.Object> toJson() { |
| 2641 var _json = new core.Map(); | 2641 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2642 if (attribution != null) { | 2642 if (attribution != null) { |
| 2643 _json["attribution"] = attribution; | 2643 _json["attribution"] = attribution; |
| 2644 } | 2644 } |
| 2645 if (attributionLink != null) { | 2645 if (attributionLink != null) { |
| 2646 _json["attributionLink"] = attributionLink; | 2646 _json["attributionLink"] = attributionLink; |
| 2647 } | 2647 } |
| 2648 if (baseTableIds != null) { | 2648 if (baseTableIds != null) { |
| 2649 _json["baseTableIds"] = baseTableIds; | 2649 _json["baseTableIds"] = baseTableIds; |
| 2650 } | 2650 } |
| 2651 if (columns != null) { | 2651 if (columns != null) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2692 items = _json["items"].map((value) => new Table.fromJson(value)).toList(); | 2692 items = _json["items"].map((value) => new Table.fromJson(value)).toList(); |
| 2693 } | 2693 } |
| 2694 if (_json.containsKey("kind")) { | 2694 if (_json.containsKey("kind")) { |
| 2695 kind = _json["kind"]; | 2695 kind = _json["kind"]; |
| 2696 } | 2696 } |
| 2697 if (_json.containsKey("nextPageToken")) { | 2697 if (_json.containsKey("nextPageToken")) { |
| 2698 nextPageToken = _json["nextPageToken"]; | 2698 nextPageToken = _json["nextPageToken"]; |
| 2699 } | 2699 } |
| 2700 } | 2700 } |
| 2701 | 2701 |
| 2702 core.Map toJson() { | 2702 core.Map<core.String, core.Object> toJson() { |
| 2703 var _json = new core.Map(); | 2703 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2704 if (items != null) { | 2704 if (items != null) { |
| 2705 _json["items"] = items.map((value) => (value).toJson()).toList(); | 2705 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 2706 } | 2706 } |
| 2707 if (kind != null) { | 2707 if (kind != null) { |
| 2708 _json["kind"] = kind; | 2708 _json["kind"] = kind; |
| 2709 } | 2709 } |
| 2710 if (nextPageToken != null) { | 2710 if (nextPageToken != null) { |
| 2711 _json["nextPageToken"] = nextPageToken; | 2711 _json["nextPageToken"] = nextPageToken; |
| 2712 } | 2712 } |
| 2713 return _json; | 2713 return _json; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2749 started = _json["started"]; | 2749 started = _json["started"]; |
| 2750 } | 2750 } |
| 2751 if (_json.containsKey("taskId")) { | 2751 if (_json.containsKey("taskId")) { |
| 2752 taskId = _json["taskId"]; | 2752 taskId = _json["taskId"]; |
| 2753 } | 2753 } |
| 2754 if (_json.containsKey("type")) { | 2754 if (_json.containsKey("type")) { |
| 2755 type = _json["type"]; | 2755 type = _json["type"]; |
| 2756 } | 2756 } |
| 2757 } | 2757 } |
| 2758 | 2758 |
| 2759 core.Map toJson() { | 2759 core.Map<core.String, core.Object> toJson() { |
| 2760 var _json = new core.Map(); | 2760 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2761 if (kind != null) { | 2761 if (kind != null) { |
| 2762 _json["kind"] = kind; | 2762 _json["kind"] = kind; |
| 2763 } | 2763 } |
| 2764 if (progress != null) { | 2764 if (progress != null) { |
| 2765 _json["progress"] = progress; | 2765 _json["progress"] = progress; |
| 2766 } | 2766 } |
| 2767 if (started != null) { | 2767 if (started != null) { |
| 2768 _json["started"] = started; | 2768 _json["started"] = started; |
| 2769 } | 2769 } |
| 2770 if (taskId != null) { | 2770 if (taskId != null) { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 2801 kind = _json["kind"]; | 2801 kind = _json["kind"]; |
| 2802 } | 2802 } |
| 2803 if (_json.containsKey("nextPageToken")) { | 2803 if (_json.containsKey("nextPageToken")) { |
| 2804 nextPageToken = _json["nextPageToken"]; | 2804 nextPageToken = _json["nextPageToken"]; |
| 2805 } | 2805 } |
| 2806 if (_json.containsKey("totalItems")) { | 2806 if (_json.containsKey("totalItems")) { |
| 2807 totalItems = _json["totalItems"]; | 2807 totalItems = _json["totalItems"]; |
| 2808 } | 2808 } |
| 2809 } | 2809 } |
| 2810 | 2810 |
| 2811 core.Map toJson() { | 2811 core.Map<core.String, core.Object> toJson() { |
| 2812 var _json = new core.Map(); | 2812 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2813 if (items != null) { | 2813 if (items != null) { |
| 2814 _json["items"] = items.map((value) => (value).toJson()).toList(); | 2814 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 2815 } | 2815 } |
| 2816 if (kind != null) { | 2816 if (kind != null) { |
| 2817 _json["kind"] = kind; | 2817 _json["kind"] = kind; |
| 2818 } | 2818 } |
| 2819 if (nextPageToken != null) { | 2819 if (nextPageToken != null) { |
| 2820 _json["nextPageToken"] = nextPageToken; | 2820 _json["nextPageToken"] = nextPageToken; |
| 2821 } | 2821 } |
| 2822 if (totalItems != null) { | 2822 if (totalItems != null) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2871 name = _json["name"]; | 2871 name = _json["name"]; |
| 2872 } | 2872 } |
| 2873 if (_json.containsKey("tableId")) { | 2873 if (_json.containsKey("tableId")) { |
| 2874 tableId = _json["tableId"]; | 2874 tableId = _json["tableId"]; |
| 2875 } | 2875 } |
| 2876 if (_json.containsKey("templateId")) { | 2876 if (_json.containsKey("templateId")) { |
| 2877 templateId = _json["templateId"]; | 2877 templateId = _json["templateId"]; |
| 2878 } | 2878 } |
| 2879 } | 2879 } |
| 2880 | 2880 |
| 2881 core.Map toJson() { | 2881 core.Map<core.String, core.Object> toJson() { |
| 2882 var _json = new core.Map(); | 2882 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2883 if (automaticColumnNames != null) { | 2883 if (automaticColumnNames != null) { |
| 2884 _json["automaticColumnNames"] = automaticColumnNames; | 2884 _json["automaticColumnNames"] = automaticColumnNames; |
| 2885 } | 2885 } |
| 2886 if (body != null) { | 2886 if (body != null) { |
| 2887 _json["body"] = body; | 2887 _json["body"] = body; |
| 2888 } | 2888 } |
| 2889 if (kind != null) { | 2889 if (kind != null) { |
| 2890 _json["kind"] = kind; | 2890 _json["kind"] = kind; |
| 2891 } | 2891 } |
| 2892 if (name != null) { | 2892 if (name != null) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2926 kind = _json["kind"]; | 2926 kind = _json["kind"]; |
| 2927 } | 2927 } |
| 2928 if (_json.containsKey("nextPageToken")) { | 2928 if (_json.containsKey("nextPageToken")) { |
| 2929 nextPageToken = _json["nextPageToken"]; | 2929 nextPageToken = _json["nextPageToken"]; |
| 2930 } | 2930 } |
| 2931 if (_json.containsKey("totalItems")) { | 2931 if (_json.containsKey("totalItems")) { |
| 2932 totalItems = _json["totalItems"]; | 2932 totalItems = _json["totalItems"]; |
| 2933 } | 2933 } |
| 2934 } | 2934 } |
| 2935 | 2935 |
| 2936 core.Map toJson() { | 2936 core.Map<core.String, core.Object> toJson() { |
| 2937 var _json = new core.Map(); | 2937 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2938 if (items != null) { | 2938 if (items != null) { |
| 2939 _json["items"] = items.map((value) => (value).toJson()).toList(); | 2939 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 2940 } | 2940 } |
| 2941 if (kind != null) { | 2941 if (kind != null) { |
| 2942 _json["kind"] = kind; | 2942 _json["kind"] = kind; |
| 2943 } | 2943 } |
| 2944 if (nextPageToken != null) { | 2944 if (nextPageToken != null) { |
| 2945 _json["nextPageToken"] = nextPageToken; | 2945 _json["nextPageToken"] = nextPageToken; |
| 2946 } | 2946 } |
| 2947 if (totalItems != null) { | 2947 if (totalItems != null) { |
| 2948 _json["totalItems"] = totalItems; | 2948 _json["totalItems"] = totalItems; |
| 2949 } | 2949 } |
| 2950 return _json; | 2950 return _json; |
| 2951 } | 2951 } |
| 2952 } | 2952 } |
| OLD | NEW |