BillingAddress constructor

BillingAddress({
  1. String? addressLine1,
  2. String? addressLine2,
  3. String? city,
  4. String? state,
  5. String? zipcode,
})

Implementation

factory BillingAddress({
  $core.String? addressLine1,
  $core.String? addressLine2,
  $core.String? city,
  $core.String? state,
  $core.String? zipcode,
}) {
  final $result = create();
  if (addressLine1 != null) {
    $result.addressLine1 = addressLine1;
  }
  if (addressLine2 != null) {
    $result.addressLine2 = addressLine2;
  }
  if (city != null) {
    $result.city = city;
  }
  if (state != null) {
    $result.state = state;
  }
  if (zipcode != null) {
    $result.zipcode = zipcode;
  }
  return $result;
}