putUserData static method
设置关键数据,随崩溃信息上报
Implementation
static Future<Null> putUserData(
{required String key, required String value}) async {
assert(key.isNotEmpty);
assert(value.isNotEmpty);
Map<String, Object> map = {
"key": key,
"value": value,
};
await _channel.invokeMethod('putUserData', map);
}