configUser method

  1. @override
Future configUser(
  1. int sex,
  2. int age,
  3. int smoking,
  4. int height,
  5. int weight,
)
override

设置 用户信息

Implementation

@override
Future configUser(int sex, int age, int smoking, int height, int weight) async {
  await methodChannel.invokeMethod("configUser",{
    "sex":sex,"age":age,"smoking":smoking,
    "height":height,"weight":weight,
  });
}