addProperty__ method

Future<void> addProperty__(
  1. int propertyKey,
  2. Ref property
)

为类型添加属性

Implementation

Future<void> addProperty__(int propertyKey, Ref property) async {
  assert(property is Ref);
  assert(propertyKey > 0);
  return kMethodChannel.invokeMethod('PlatformService::addProperty', {
    '__this__': this,
    'propertyKey': propertyKey,
    'property': property,
  });
}