updateUserInfo method

  1. @override
Future updateUserInfo({
  1. required MethodCall call,
})
override

Implementation

@override
Future updateUserInfo({required MethodCall call}) async{
  final payload = jsonDecode(call.arguments);
  final userInfo = NUIUserInfoEnt().toEntity(payload);

  final result = await _getModuleInstance().updateUserInfo(userInfo: userInfo);
  return {
    "success": result.success,
    "message": result.message,
  };
}