Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.22 KB | None | 0 0
  1. Launching lib/layouts/workflow/state-screen.dart on iPhone X in debug mode...
  2.  
  3. Compiler message:
  4. /tmp/offtherecord4/lib/api_helper.dart:40:18: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  5. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  6. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  7. return value.toUtc().toIso8601String();
  8. ^^^^^
  9. /tmp/offtherecord4/lib/model/case_creation_request.dart:21:16: Error: Method not found: 'DateTime.parse'.
  10. DateTime.parse(json['courtDate']);
  11. ^^^^^
  12. /tmp/offtherecord4/lib/model/case_creation_request.dart:29:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  13. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  14. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  15. json['courtDate'] = courtDate == null ? null : courtDate.toUtc().toIso8601String();
  16. ^^^^^
  17. /tmp/offtherecord4/lib/model/case_financials_domain.dart:65:16: Error: Method not found: 'DateTime.parse'.
  18. DateTime.parse(json['chargeRunAtDate']);
  19. ^^^^^
  20. /tmp/offtherecord4/lib/model/case_financials_domain.dart:98:82: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  21. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  22. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  23. json['chargeRunAtDate'] = chargeRunAtDate == null ? null : chargeRunAtDate.toUtc().toIso8601String();
  24. ^^^^^
  25. /tmp/offtherecord4/lib/model/case_future_payment.dart:21:16: Error: Method not found: 'DateTime.parse'.
  26. DateTime.parse(json['dueDate']);
  27. ^^^^^
  28. /tmp/offtherecord4/lib/model/case_future_payment.dart:29:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  29. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  30. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  31. json['dueDate'] = dueDate == null ? null : dueDate.toUtc().toIso8601String();
  32. ^^^^^
  33. /tmp/offtherecord4/lib/model/case_payment_plan_response.dart:40:16: Error: Method not found: 'DateTime.parse'.
  34. DateTime.parse(json['dueDate']);
  35. ^^^^^
  36. /tmp/offtherecord4/lib/model/case_payment_plan_response.dart:58:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  37. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  38. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  39. json['dueDate'] = dueDate == null ? null : dueDate.toUtc().toIso8601String();
  40. ^^^^^
  41. /tmp/offtherecord4/lib/model/case_summary_domain.dart:42:16: Error: Method not found: 'DateTime.parse'.
  42. DateTime.parse(json['bookingConfirmedDate']);
  43. ^^^^^
  44. /tmp/offtherecord4/lib/model/case_summary_domain.dart:51:16: Error: Method not found: 'DateTime.parse'.
  45. DateTime.parse(json['citationIssueDateUTC']);
  46. ^^^^^
  47. /tmp/offtherecord4/lib/model/case_summary_domain.dart:54:16: Error: Method not found: 'DateTime.parse'.
  48. DateTime.parse(json['courtDate']);
  49. ^^^^^
  50. /tmp/offtherecord4/lib/model/case_summary_domain.dart:66:97: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  51. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  52. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  53. json['bookingConfirmedDate'] = bookingConfirmedDate == null ? null : bookingConfirmedDate.toUtc().toIso8601String();
  54. ^^^^^
  55. /tmp/offtherecord4/lib/model/case_summary_domain.dart:76:97: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  56. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  57. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  58. json['citationIssueDateUTC'] = citationIssueDateUTC == null ? null : citationIssueDateUTC.toUtc().toIso8601String();
  59. ^^^^^
  60. /tmp/offtherecord4/lib/model/case_summary_domain.dart:78:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  61. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  62. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  63. json['courtDate'] = courtDate == null ? null : courtDate.toUtc().toIso8601String();
  64. ^^^^^
  65. /tmp/offtherecord4/lib/model/case_transfer_history.dart:37:16: Error: Method not found: 'DateTime.parse'.
  66. DateTime.parse(json['decisionDate']);
  67. ^^^^^
  68. /tmp/offtherecord4/lib/model/case_transfer_history.dart:43:16: Error: Method not found: 'DateTime.parse'.
  69. DateTime.parse(json['lawfirmCaseCreationDate']);
  70. ^^^^^
  71. /tmp/offtherecord4/lib/model/case_transfer_history.dart:54:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  72. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  73. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  74. json['decisionDate'] = decisionDate == null ? null : decisionDate.toUtc().toIso8601String();
  75. ^^^^^
  76. /tmp/offtherecord4/lib/model/case_transfer_history.dart:62:106: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  77. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  78. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  79. json['lawfirmCaseCreationDate'] = lawfirmCaseCreationDate == null ? null : lawfirmCaseCreationDate.toUtc().toIso8601String();
  80. ^^^^^
  81. /tmp/offtherecord4/lib/model/create_referral_code_request.dart:38:16: Error: Method not found: 'DateTime.parse'.
  82. DateTime.parse(json['endDate']);
  83. ^^^^^
  84. /tmp/offtherecord4/lib/model/create_referral_code_request.dart:52:16: Error: Method not found: 'DateTime.parse'.
  85. DateTime.parse(json['startDate']);
  86. ^^^^^
  87. /tmp/offtherecord4/lib/model/create_referral_code_request.dart:60:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  88. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  89. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  90. json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
  91. ^^^^^
  92. /tmp/offtherecord4/lib/model/create_referral_code_request.dart:76:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  93. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  94. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  95. json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
  96. ^^^^^
  97. /tmp/offtherecord4/lib/model/customer_review.dart:45:16: Error: Method not found: 'DateTime.parse'.
  98. DateTime.parse(json['resolutionDateUtc']);
  99. ^^^^^
  100. /tmp/offtherecord4/lib/model/customer_review.dart:67:88: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  101. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  102. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  103. json['resolutionDateUtc'] = resolutionDateUtc == null ? null : resolutionDateUtc.toUtc().toIso8601String();
  104. ^^^^^
  105. /tmp/offtherecord4/lib/model/direct_mail_contact.dart:39:16: Error: Method not found: 'DateTime.parse'.
  106. DateTime.parse(json['estimatedDeliveryDate']);
  107. ^^^^^
  108. /tmp/offtherecord4/lib/model/direct_mail_contact.dart:47:16: Error: Method not found: 'DateTime.parse'.
  109. DateTime.parse(json['processedForDeliveryDate']);
  110. ^^^^^
  111. /tmp/offtherecord4/lib/model/direct_mail_contact.dart:58:100: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  112. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  113. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  114. json['estimatedDeliveryDate'] = estimatedDeliveryDate == null ? null : estimatedDeliveryDate.toUtc().toIso8601String();
  115. ^^^^^
  116. /tmp/offtherecord4/lib/model/direct_mail_contact.dart:70:109: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  117. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  118. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  119. json['processedForDeliveryDate'] = processedForDeliveryDate == null ? null : processedForDeliveryDate.toUtc().toIso8601String();
  120. ^^^^^
  121. /tmp/offtherecord4/lib/model/fresh_desk_conversation.dart:29:16: Error: Method not found: 'DateTime.parse'.
  122. DateTime.parse(json['created_at']);
  123. ^^^^^
  124. /tmp/offtherecord4/lib/model/fresh_desk_conversation.dart:41:65: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  125. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  126. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  127. json['created_at'] = createdAt == null ? null : createdAt.toUtc().toIso8601String();
  128. ^^^^^
  129. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:84:14: Error: Method not found: 'Object.listFromJson'.
  130. Object.listFromJson(json['attachments']);
  131. ^^^^^^^^^^^^
  132. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:93:16: Error: Method not found: 'DateTime.parse'.
  133. DateTime.parse(json['created_at']);
  134. ^^^^^
  135. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:102:16: Error: Method not found: 'DateTime.parse'.
  136. DateTime.parse(json['due_by']);
  137. ^^^^^
  138. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:106:16: Error: Method not found: 'DateTime.parse'.
  139. DateTime.parse(json['fr_due_by']);
  140. ^^^^^
  141. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:141:16: Error: Method not found: 'DateTime.parse'.
  142. DateTime.parse(json['updated_at']);
  143. ^^^^^
  144. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:153:65: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  145. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  146. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  147. json['created_at'] = createdAt == null ? null : createdAt.toUtc().toIso8601String();
  148. ^^^^^
  149. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:163:53: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  150. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  151. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  152. json['due_by'] = dueBy == null ? null : dueBy.toUtc().toIso8601String();
  153. ^^^^^
  154. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:167:60: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  155. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  156. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  157. json['fr_due_by'] = frDueBy == null ? null : frDueBy.toUtc().toIso8601String();
  158. ^^^^^
  159. /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:213:65: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  160. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  161. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  162. json['updated_at'] = updatedAt == null ? null : updatedAt.toUtc().toIso8601String();
  163. ^^^^^
  164. /tmp/offtherecord4/lib/model/future_payment.dart:23:16: Error: Method not found: 'DateTime.parse'.
  165. DateTime.parse(json['dueDate']);
  166. ^^^^^
  167. /tmp/offtherecord4/lib/model/future_payment.dart:32:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  168. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  169. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  170. json['dueDate'] = dueDate == null ? null : dueDate.toUtc().toIso8601String();
  171. ^^^^^
  172. /tmp/offtherecord4/lib/model/geo_rates_request.dart:23:16: Error: Method not found: 'DateTime.parse'.
  173. DateTime.parse(json['courtDate']);
  174. ^^^^^
  175. /tmp/offtherecord4/lib/model/geo_rates_request.dart:34:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  176. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  177. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  178. json['courtDate'] = courtDate == null ? null : courtDate.toUtc().toIso8601String();
  179. ^^^^^
  180. /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:23:16: Error: Method not found: 'DateTime.parse'.
  181. DateTime.parse(json['endDate']);
  182. ^^^^^
  183. /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:28:16: Error: Method not found: 'DateTime.parse'.
  184. DateTime.parse(json['startDate']);
  185. ^^^^^
  186. /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:34:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  187. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  188. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  189. json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
  190. ^^^^^
  191. /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:40:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  192. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  193. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  194. json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
  195. ^^^^^
  196. /tmp/offtherecord4/lib/model/get_referral_code_response.dart:39:16: Error: Method not found: 'DateTime.parse'.
  197. DateTime.parse(json['endDate']);
  198. ^^^^^
  199. /tmp/offtherecord4/lib/model/get_referral_code_response.dart:53:16: Error: Method not found: 'DateTime.parse'.
  200. DateTime.parse(json['startDate']);
  201. ^^^^^
  202. /tmp/offtherecord4/lib/model/get_referral_code_response.dart:59:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  203. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  204. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  205. json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
  206. ^^^^^
  207. /tmp/offtherecord4/lib/model/get_referral_code_response.dart:79:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  208. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  209. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  210. json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
  211. ^^^^^
  212. /tmp/offtherecord4/lib/model/graph_request.dart:29:16: Error: Method not found: 'DateTime.parse'.
  213. DateTime.parse(json['endDate']);
  214. ^^^^^
  215. /tmp/offtherecord4/lib/model/graph_request.dart:34:16: Error: Method not found: 'DateTime.parse'.
  216. DateTime.parse(json['startDate']);
  217. ^^^^^
  218. /tmp/offtherecord4/lib/model/graph_request.dart:42:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  219. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  220. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  221. json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
  222. ^^^^^
  223. /tmp/offtherecord4/lib/model/graph_request.dart:48:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  224. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  225. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  226. json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
  227. ^^^^^
  228. /tmp/offtherecord4/lib/model/key_value_map_request.dart:21:14: Error: Method not found: 'Object.mapFromJson'.
  229. Object.mapFromJson(json['keyValueMap']);
  230. ^^^^^^^^^^^
  231. /tmp/offtherecord4/lib/model/lawfirm_case_document.dart:31:16: Error: Method not found: 'DateTime.parse'.
  232. DateTime.parse(json['docDate']);
  233. ^^^^^
  234. /tmp/offtherecord4/lib/model/lawfirm_case_document.dart:44:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  235. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  236. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  237. json['docDate'] = docDate == null ? null : docDate.toUtc().toIso8601String();
  238. ^^^^^
  239. /tmp/offtherecord4/lib/model/lawfirm_document.dart:30:16: Error: Method not found: 'DateTime.parse'.
  240. DateTime.parse(json['docDate']);
  241. ^^^^^
  242. /tmp/offtherecord4/lib/model/lawfirm_document.dart:42:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  243. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  244. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  245. json['docDate'] = docDate == null ? null : docDate.toUtc().toIso8601String();
  246. ^^^^^
  247. /tmp/offtherecord4/lib/model/lawfirm_document_template.dart:28:16: Error: Method not found: 'DateTime.parse'.
  248. DateTime.parse(json['docDate']);
  249. ^^^^^
  250. /tmp/offtherecord4/lib/model/lawfirm_document_template.dart:39:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  251. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  252. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  253. json['docDate'] = docDate == null ? null : docDate.toUtc().toIso8601String();
  254. ^^^^^
  255. /tmp/offtherecord4/lib/model/lawfirm_domain.dart:64:16: Error: Method not found: 'DateTime.parse'.
  256. DateTime.parse(json['membershipStartDateUtc']);
  257. ^^^^^
  258. /tmp/offtherecord4/lib/model/lawfirm_domain.dart:98:103: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  259. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  260. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  261. json['membershipStartDateUtc'] = membershipStartDateUtc == null ? null : membershipStartDateUtc.toUtc().toIso8601String();
  262. ^^^^^
  263. /tmp/offtherecord4/lib/model/line_item_request.dart:32:16: Error: Method not found: 'DateTime.parse'.
  264. DateTime.parse(json['chargeRunAtDate']);
  265. ^^^^^
  266. /tmp/offtherecord4/lib/model/line_item_request.dart:46:82: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  267. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  268. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  269. json['chargeRunAtDate'] = chargeRunAtDate == null ? null : chargeRunAtDate.toUtc().toIso8601String();
  270. ^^^^^
  271. /tmp/offtherecord4/lib/model/list_revenue_request.dart:31:16: Error: Method not found: 'DateTime.parse'.
  272. DateTime.parse(json['endDate']);
  273. ^^^^^
  274. /tmp/offtherecord4/lib/model/list_revenue_request.dart:36:16: Error: Method not found: 'DateTime.parse'.
  275. DateTime.parse(json['startDate']);
  276. ^^^^^
  277. /tmp/offtherecord4/lib/model/list_revenue_request.dart:45:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  278. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  279. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  280. json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
  281. ^^^^^
  282. /tmp/offtherecord4/lib/model/list_revenue_request.dart:51:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  283. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  284. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  285. json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
  286. ^^^^^
  287. /tmp/offtherecord4/lib/model/lob_event_request.dart:23:16: Error: Method not found: 'DateTime.parse'.
  288. DateTime.parse(json['date_created']);
  289. ^^^^^
  290. /tmp/offtherecord4/lib/model/lob_event_request.dart:34:71: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  291. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  292. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  293. json['date_created'] = dateCreated == null ? null : dateCreated.toUtc().toIso8601String();
  294. ^^^^^
  295. /tmp/offtherecord4/lib/model/notification_event.dart:27:16: Error: Method not found: 'DateTime.parse'.
  296. DateTime.parse(json['eventDate']);
  297. ^^^^^
  298. /tmp/offtherecord4/lib/model/notification_event.dart:38:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  299. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  300. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  301. json['eventDate'] = eventDate == null ? null : eventDate.toUtc().toIso8601String();
  302. ^^^^^
  303. /tmp/offtherecord4/lib/model/notification_events.dart:19:12: Error: Method not found: 'List.mapFromJson'.
  304. List.mapFromJson(json['events']);
  305. ^^^^^^^^^^^
  306. /tmp/offtherecord4/lib/model/outgoing_contact_domain.dart:42:16: Error: Method not found: 'DateTime.parse'.
  307. DateTime.parse(json['contactSentDateUtc']);
  308. ^^^^^
  309. /tmp/offtherecord4/lib/model/outgoing_contact_domain.dart:62:91: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  310. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  311. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  312. json['contactSentDateUtc'] = contactSentDateUtc == null ? null : contactSentDateUtc.toUtc().toIso8601String();
  313. ^^^^^
  314. /tmp/offtherecord4/lib/model/post_referral_source_request.dart:31:14: Error: Method not found: 'Object.mapFromJson'.
  315. Object.mapFromJson(json['referralSourceData']);
  316. ^^^^^^^^^^^
  317. /tmp/offtherecord4/lib/model/referral_response.dart:49:16: Error: Method not found: 'DateTime.parse'.
  318. DateTime.parse(json['referralDate']);
  319. ^^^^^
  320. /tmp/offtherecord4/lib/model/referral_response.dart:52:16: Error: Method not found: 'DateTime.parse'.
  321. DateTime.parse(json['referralExpirationDate']);
  322. ^^^^^
  323. /tmp/offtherecord4/lib/model/referral_response.dart:75:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  324. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  325. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  326. json['referralDate'] = referralDate == null ? null : referralDate.toUtc().toIso8601String();
  327. ^^^^^
  328. /tmp/offtherecord4/lib/model/referral_response.dart:77:103: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  329. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  330. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  331. json['referralExpirationDate'] = referralExpirationDate == null ? null : referralExpirationDate.toUtc().toIso8601String();
  332. ^^^^^
  333. /tmp/offtherecord4/lib/model/register_new_user_request.dart:40:14: Error: Method not found: 'Object.mapFromJson'.
  334. Object.mapFromJson(json['referralSourceData']);
  335. ^^^^^^^^^^^
  336. /tmp/offtherecord4/lib/model/reschedule_task_request.dart:17:16: Error: Method not found: 'DateTime.parse'.
  337. DateTime.parse(json['runAtDateUtc']);
  338. ^^^^^
  339. /tmp/offtherecord4/lib/model/reschedule_task_request.dart:23:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  340. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  341. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  342. json['runAtDateUtc'] = runAtDateUtc == null ? null : runAtDateUtc.toUtc().toIso8601String();
  343. ^^^^^
  344. /tmp/offtherecord4/lib/model/results.dart:17:11: Error: Method not found: 'Map.listFromJson'.
  345. Map.listFromJson(json['resultSet']);
  346. ^^^^^^^^^^^^
  347. /tmp/offtherecord4/lib/model/scheduled_task_response.dart:31:16: Error: Method not found: 'DateTime.parse'.
  348. DateTime.parse(json['completionDate']);
  349. ^^^^^
  350. /tmp/offtherecord4/lib/model/scheduled_task_response.dart:35:16: Error: Method not found: 'DateTime.parse'.
  351. DateTime.parse(json['runAtDateUtc']);
  352. ^^^^^
  353. /tmp/offtherecord4/lib/model/scheduled_task_response.dart:45:79: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  354. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  355. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  356. json['completionDate'] = completionDate == null ? null : completionDate.toUtc().toIso8601String();
  357. ^^^^^
  358. /tmp/offtherecord4/lib/model/scheduled_task_response.dart:49:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  359. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  360. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  361. json['runAtDateUtc'] = runAtDateUtc == null ? null : runAtDateUtc.toUtc().toIso8601String();
  362. ^^^^^
  363. /tmp/offtherecord4/lib/model/social_login_request.dart:34:14: Error: Method not found: 'Object.mapFromJson'.
  364. Object.mapFromJson(json['referralSourceData']);
  365. ^^^^^^^^^^^
  366. /tmp/offtherecord4/lib/model/user_domain.dart:66:16: Error: Method not found: 'DateTime.parse'.
  367. DateTime.parse(json['dob']);
  368. ^^^^^
  369. /tmp/offtherecord4/lib/model/user_domain.dart:99:46: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
  370. - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
  371. Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
  372. json['dob'] = dob == null ? null : dob.toUtc().toIso8601String();
  373. ^^^^^
  374. Compiler failed on /Users/Mark/git/starter_app/lib/layouts/workflow/state-screen.dart
  375. Error launching application on iPhone X.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement