uploadUserInfo method

  1. @override
Future<void> uploadUserInfo({
  1. String? userName,
  2. String? phone,
  3. int? age,
  4. String? email,
  5. String? gender,
  6. Map<String, dynamic>? attribute,
})
override

Implementation

@override
Future<void> uploadUserInfo(
    {String? userName,
    String? phone,
    int? age,
    String? email,
    String? gender,
    Map<String, dynamic>? attribute}) async {
  await methodChannel.invokeMethod<String>('uploadUserInfo', {
    'userName': userName,
    'phone': phone,
    'age': age,
    'email': email,
    'gender': gender,
    'attribute': attribute
  });
}