OrganizationMember constructor

OrganizationMember({
  1. String? userId,
  2. Iterable<String>? emails,
  3. Timestamp? dateAdded,
  4. Timestamp? lastLogin,
})

Implementation

factory OrganizationMember({
  $core.String? userId,
  $core.Iterable<$core.String>? emails,
  $44.Timestamp? dateAdded,
  $44.Timestamp? lastLogin,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (emails != null) {
    $result.emails.addAll(emails);
  }
  if (dateAdded != null) {
    $result.dateAdded = dateAdded;
  }
  if (lastLogin != null) {
    $result.lastLogin = lastLogin;
  }
  return $result;
}