Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Launching lib/layouts/workflow/state-screen.dart on iPhone X in debug mode...
- Compiler message:
- /tmp/offtherecord4/lib/api_helper.dart:40:18: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- return value.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_creation_request.dart:21:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['courtDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_creation_request.dart:29:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['courtDate'] = courtDate == null ? null : courtDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_financials_domain.dart:65:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['chargeRunAtDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_financials_domain.dart:98:82: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['chargeRunAtDate'] = chargeRunAtDate == null ? null : chargeRunAtDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_future_payment.dart:21:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['dueDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_future_payment.dart:29:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['dueDate'] = dueDate == null ? null : dueDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_payment_plan_response.dart:40:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['dueDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_payment_plan_response.dart:58:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['dueDate'] = dueDate == null ? null : dueDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_summary_domain.dart:42:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['bookingConfirmedDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_summary_domain.dart:51:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['citationIssueDateUTC']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_summary_domain.dart:54:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['courtDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_summary_domain.dart:66:97: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['bookingConfirmedDate'] = bookingConfirmedDate == null ? null : bookingConfirmedDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_summary_domain.dart:76:97: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['citationIssueDateUTC'] = citationIssueDateUTC == null ? null : citationIssueDateUTC.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_summary_domain.dart:78:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['courtDate'] = courtDate == null ? null : courtDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_transfer_history.dart:37:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['decisionDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_transfer_history.dart:43:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['lawfirmCaseCreationDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/case_transfer_history.dart:54:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['decisionDate'] = decisionDate == null ? null : decisionDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/case_transfer_history.dart:62:106: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['lawfirmCaseCreationDate'] = lawfirmCaseCreationDate == null ? null : lawfirmCaseCreationDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/create_referral_code_request.dart:38:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['endDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/create_referral_code_request.dart:52:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['startDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/create_referral_code_request.dart:60:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/create_referral_code_request.dart:76:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/customer_review.dart:45:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['resolutionDateUtc']);
- ^^^^^
- /tmp/offtherecord4/lib/model/customer_review.dart:67:88: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['resolutionDateUtc'] = resolutionDateUtc == null ? null : resolutionDateUtc.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/direct_mail_contact.dart:39:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['estimatedDeliveryDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/direct_mail_contact.dart:47:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['processedForDeliveryDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/direct_mail_contact.dart:58:100: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['estimatedDeliveryDate'] = estimatedDeliveryDate == null ? null : estimatedDeliveryDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/direct_mail_contact.dart:70:109: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['processedForDeliveryDate'] = processedForDeliveryDate == null ? null : processedForDeliveryDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_conversation.dart:29:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['created_at']);
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_conversation.dart:41:65: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['created_at'] = createdAt == null ? null : createdAt.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:84:14: Error: Method not found: 'Object.listFromJson'.
- Object.listFromJson(json['attachments']);
- ^^^^^^^^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:93:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['created_at']);
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:102:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['due_by']);
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:106:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['fr_due_by']);
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:141:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['updated_at']);
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:153:65: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['created_at'] = createdAt == null ? null : createdAt.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:163:53: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['due_by'] = dueBy == null ? null : dueBy.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:167:60: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['fr_due_by'] = frDueBy == null ? null : frDueBy.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/fresh_desk_ticket.dart:213:65: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['updated_at'] = updatedAt == null ? null : updatedAt.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/future_payment.dart:23:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['dueDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/future_payment.dart:32:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['dueDate'] = dueDate == null ? null : dueDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/geo_rates_request.dart:23:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['courtDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/geo_rates_request.dart:34:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['courtDate'] = courtDate == null ? null : courtDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:23:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['endDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:28:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['startDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:34:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/get_potential_customers_request.dart:40:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/get_referral_code_response.dart:39:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['endDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/get_referral_code_response.dart:53:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['startDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/get_referral_code_response.dart:59:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/get_referral_code_response.dart:79:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/graph_request.dart:29:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['endDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/graph_request.dart:34:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['startDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/graph_request.dart:42:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/graph_request.dart:48:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/key_value_map_request.dart:21:14: Error: Method not found: 'Object.mapFromJson'.
- Object.mapFromJson(json['keyValueMap']);
- ^^^^^^^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_case_document.dart:31:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['docDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_case_document.dart:44:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['docDate'] = docDate == null ? null : docDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_document.dart:30:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['docDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_document.dart:42:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['docDate'] = docDate == null ? null : docDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_document_template.dart:28:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['docDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_document_template.dart:39:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['docDate'] = docDate == null ? null : docDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_domain.dart:64:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['membershipStartDateUtc']);
- ^^^^^
- /tmp/offtherecord4/lib/model/lawfirm_domain.dart:98:103: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['membershipStartDateUtc'] = membershipStartDateUtc == null ? null : membershipStartDateUtc.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/line_item_request.dart:32:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['chargeRunAtDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/line_item_request.dart:46:82: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['chargeRunAtDate'] = chargeRunAtDate == null ? null : chargeRunAtDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/list_revenue_request.dart:31:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['endDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/list_revenue_request.dart:36:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['startDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/list_revenue_request.dart:45:58: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['endDate'] = endDate == null ? null : endDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/list_revenue_request.dart:51:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['startDate'] = startDate == null ? null : startDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/lob_event_request.dart:23:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['date_created']);
- ^^^^^
- /tmp/offtherecord4/lib/model/lob_event_request.dart:34:71: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['date_created'] = dateCreated == null ? null : dateCreated.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/notification_event.dart:27:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['eventDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/notification_event.dart:38:64: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['eventDate'] = eventDate == null ? null : eventDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/notification_events.dart:19:12: Error: Method not found: 'List.mapFromJson'.
- List.mapFromJson(json['events']);
- ^^^^^^^^^^^
- /tmp/offtherecord4/lib/model/outgoing_contact_domain.dart:42:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['contactSentDateUtc']);
- ^^^^^
- /tmp/offtherecord4/lib/model/outgoing_contact_domain.dart:62:91: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['contactSentDateUtc'] = contactSentDateUtc == null ? null : contactSentDateUtc.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/post_referral_source_request.dart:31:14: Error: Method not found: 'Object.mapFromJson'.
- Object.mapFromJson(json['referralSourceData']);
- ^^^^^^^^^^^
- /tmp/offtherecord4/lib/model/referral_response.dart:49:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['referralDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/referral_response.dart:52:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['referralExpirationDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/referral_response.dart:75:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['referralDate'] = referralDate == null ? null : referralDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/referral_response.dart:77:103: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['referralExpirationDate'] = referralExpirationDate == null ? null : referralExpirationDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/register_new_user_request.dart:40:14: Error: Method not found: 'Object.mapFromJson'.
- Object.mapFromJson(json['referralSourceData']);
- ^^^^^^^^^^^
- /tmp/offtherecord4/lib/model/reschedule_task_request.dart:17:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['runAtDateUtc']);
- ^^^^^
- /tmp/offtherecord4/lib/model/reschedule_task_request.dart:23:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['runAtDateUtc'] = runAtDateUtc == null ? null : runAtDateUtc.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/results.dart:17:11: Error: Method not found: 'Map.listFromJson'.
- Map.listFromJson(json['resultSet']);
- ^^^^^^^^^^^^
- /tmp/offtherecord4/lib/model/scheduled_task_response.dart:31:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['completionDate']);
- ^^^^^
- /tmp/offtherecord4/lib/model/scheduled_task_response.dart:35:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['runAtDateUtc']);
- ^^^^^
- /tmp/offtherecord4/lib/model/scheduled_task_response.dart:45:79: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['completionDate'] = completionDate == null ? null : completionDate.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/scheduled_task_response.dart:49:73: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['runAtDateUtc'] = runAtDateUtc == null ? null : runAtDateUtc.toUtc().toIso8601String();
- ^^^^^
- /tmp/offtherecord4/lib/model/social_login_request.dart:34:14: Error: Method not found: 'Object.mapFromJson'.
- Object.mapFromJson(json['referralSourceData']);
- ^^^^^^^^^^^
- /tmp/offtherecord4/lib/model/user_domain.dart:66:16: Error: Method not found: 'DateTime.parse'.
- DateTime.parse(json['dob']);
- ^^^^^
- /tmp/offtherecord4/lib/model/user_domain.dart:99:46: Error: The method 'toUtc' isn't defined for the class 'DateTime'.
- - 'DateTime' is from 'package:openapi/api.dart' ('/tmp/offtherecord4/lib/api.dart').
- Try correcting the name to the name of an existing method, or defining a method named 'toUtc'.
- json['dob'] = dob == null ? null : dob.toUtc().toIso8601String();
- ^^^^^
- Compiler failed on /Users/Mark/git/starter_app/lib/layouts/workflow/state-screen.dart
- Error launching application on iPhone X.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement