getProperty_batch method

Future<List<Ref>> getProperty_batch(
  1. int propertyKey
)

获取添加字段的值

Implementation

Future<List<Ref>> getProperty_batch(int propertyKey) async {
  final List resultBatch = await kMethodChannel.invokeMethod(
    'PlatformService::getProperty_batch',
    [
      for (int i = 0; i < length; i++)
        <String, dynamic>{
          '__this__': this[i],
          'propertyKey': propertyKey,
        }
    ],
  );
  return resultBatch
      .map((refId) => Ref()
        ..refId = refId
        ..tag__ = 'platform')
      .toList();
}