PPBuyer constructor

  1. @JsonSerializable()
const PPBuyer({
  1. String? userId,
  2. @JsonKey(readValue: _PPBuyerHelper.readEmail) String? email,
  3. PPName? name,
  4. List<PPAddress>? addresses,
  5. @JsonKey(readValue: _PPBuyerHelper.readPhones) List<String>? phones,
})

Implementation

@JsonSerializable()
const factory PPBuyer({
  String? userId,
  @JsonKey(readValue: _PPBuyerHelper.readEmail) String? email,
  PPName? name,
  List<PPAddress>? addresses,
  @JsonKey(readValue: _PPBuyerHelper.readPhones) List<String>? phones,
}) = _PPBuyer;