performSelectorWithObject__ method

Future<void> performSelectorWithObject__(
  1. String selector,
  2. Object object
)

通过反射调用方法

Implementation

Future<void> performSelectorWithObject__(String selector, Object object) {
  return kMethodChannel
      .invokeMethod('PlatformService::performSelectorWithObject', {
    '__this__': this,
    'selector': selector,
    'object': object,
  });
}