AddressDetails constructor

  1. @JsonSerializable(explicitToJson: true)
const AddressDetails({
  1. String? name,
  2. Address? address,
  3. String? phoneNumber,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory AddressDetails({
  /// The customer's full name
  String? name,

  /// The customer's address
  Address? address,

  /// the customer's phonumber
  String? phoneNumber,
}) = _AddressDetails;