1d9a34ce6e
This fixes snippets in the documentation for error codes related to native fields by adding the `Int` type to the mock SDK and adding missing `external` or `final` modifiers. Closes https://github.com/dart-lang/sdk/issues/54416 TEST=pkg/analyzer/test/verify_diagnostics_test.dart Cq-Include-Trybots: luci.dart.try:analyzer-mac-release-try Change-Id: Ia07ae8d200c22742797596ff1f4f78c75649f28c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/342941 Reviewed-by: Marya Belanger <mbelanger@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>