c0b424f28f
This updates the interactive forms classes to reflect recent changes. Previously, we would only send back the outstanding fields to the client, and it would only provide answers for the same. Now, the server will always send all fields to the client, and the client will always provide all answers. Answers are looked up IDs (a new field on `FormField`, and `FormAnswer` which wraps the answer) rather than rely on indexes. Fields can also now be required. Change-Id: If4aa1f9a18fa873e83cb0ea1fd74c2e42cd2fa1f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/508103 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com>