getUser method

User getUser({
  1. required String id,
  2. required String name,
  3. List<String>? email,
  4. List<String>? phone,
  5. String? availabilityText,
  6. String? locale,
  7. String? photoUrl,
  8. String? role,
  9. Map<String, String?>? custom,
  10. String? welcomeMessage,
})

Implementation

User getUser({
  required String id,
  required String name,
  List<String>? email,
  List<String>? phone,
  String? availabilityText,
  String? locale,
  String? photoUrl,
  String? role,
  Map<String, String?>? custom,
  String? welcomeMessage,
}) =>
    User(
      session: this,
      id: id,
      name: name,
      email: email,
      phone: phone,
      availabilityText: availabilityText,
      locale: locale,
      photoUrl: photoUrl,
      role: role,
      custom: custom,
      welcomeMessage: welcomeMessage,
    );