methodChannel property

MethodChannel methodChannel
latefinal

A MethodChannel that is used for communication between Flutter and the native platform. This field is marked as late and final, meaning it will be initialized later and cannot be reassigned. The @visibleForTesting annotation indicates that this field is intended to be visible only for testing purposes.

Implementation

late final MethodChannel methodChannel;