AuthConfig constructor

AuthConfig({
  1. int? version,
  2. int? userId,
  3. String? platform,
  4. SocialType? socialType,
  5. String? name,
  6. String? firstName,
  7. String? lastName,
  8. String? email,
})

Implementation

factory AuthConfig({
  $core.int? version,
  $core.int? userId,
  $core.String? platform,
  SocialType? socialType,
  $core.String? name,
  $core.String? firstName,
  $core.String? lastName,
  $core.String? email,
}) {
  final _result = create();
  if (version != null) {
    _result.version = version;
  }
  if (userId != null) {
    _result.userId = userId;
  }
  if (platform != null) {
    _result.platform = platform;
  }
  if (socialType != null) {
    _result.socialType = socialType;
  }
  if (name != null) {
    _result.name = name;
  }
  if (firstName != null) {
    _result.firstName = firstName;
  }
  if (lastName != null) {
    _result.lastName = lastName;
  }
  if (email != null) {
    _result.email = email;
  }
  return _result;
}