Partner constructor

Partner({
  1. String? id,
  2. String? name,
  3. CountryCode? country,
  4. String? apiUrl,
  5. String? mongoUrl,
  6. bool? nuntio,
  7. bool? dedicated,
  8. Timestamp? createdAt,
  9. Timestamp? updatedAt,
  10. String? website,
  11. String? s3Url,
})

Implementation

factory Partner({
  $core.String? id,
  $core.String? name,
  $4.CountryCode? country,
  $core.String? apiUrl,
  $core.String? mongoUrl,
  $core.String? logo,
  $core.bool? nuntio,
  $core.bool? dedicated,
  $3.Timestamp? createdAt,
  $3.Timestamp? updatedAt,
  $core.String? website,
  $core.String? s3Url,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (name != null) {
    _result.name = name;
  }
  if (country != null) {
    _result.country = country;
  }
  if (apiUrl != null) {
    _result.apiUrl = apiUrl;
  }
  if (mongoUrl != null) {
    _result.mongoUrl = mongoUrl;
  }
  if (logo != null) {
    _result.logo = logo;
  }
  if (nuntio != null) {
    _result.nuntio = nuntio;
  }
  if (dedicated != null) {
    _result.dedicated = dedicated;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (updatedAt != null) {
    _result.updatedAt = updatedAt;
  }
  if (website != null) {
    _result.website = website;
  }
  if (s3Url != null) {
    _result.s3Url = s3Url;
  }
  return _result;
}