addJsonableProperty__ method
为类型添加jsonable属性
Implementation
Future<void> addJsonableProperty__(int propertyKey, Object property) async {
assert(propertyKey > 0);
assert(property is String ||
property is int ||
property is double ||
property is Map ||
property is List ||
property is bool);
return kMethodChannel.invokeMethod('PlatformService::addJsonableProperty', {
'__this__': this,
'propertyKey': propertyKey,
'property': property,
});
}