method property Null safety

PlatformMethod method
final

Implementation

final PlatformMethod method;