addJsonableProperty_batch method
为类型添加jsonable属性
Implementation
Future<void> addJsonableProperty_batch(
int propertyKey,
List<Object> property,
) async {
assert(property is List<String> ||
property is List<int> ||
property is List<double> ||
property is List<Map> ||
property is List<List> ||
property is List<bool>);
return kMethodChannel.invokeMethod(
'PlatformService::addJsonableProperty_batch',
[
for (int i = 0; i < length; i++)
<String, dynamic>{
'__this__': this[i],
'propertyKey': propertyKey,
'property': property[i],
}
],
);
}