mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The C++ wrapper makes heavy use of templates to support arbitrary types in the platform channel classes, but in practice EncodableValue is what essentially all code will use. This defaults those template types to reduce boilerplate in plugin code (e.g., allowing the use of MethodChannel<> instead of MethodChannel<EncodableValue>).