getProperty__ method

Future<Ref> getProperty__(
  1. int propertyKey
)

获取添加字段的值

Implementation

Future<Ref> getProperty__(int propertyKey) async {
  assert(propertyKey > 0);
  final result =
      await kMethodChannel.invokeMethod('PlatformService::getProperty', {
    'refId': refId,
    'propertyKey': propertyKey,
  });
  return Ref()..refId = result;
}