getUserMobile static method

Future<String?> getUserMobile()

获取用户手机号

Implementation

static Future<String?> getUserMobile() async {
  final user = await getCurrentUser();
  return user?.mobile;
}