OpenApiContact constructor

const OpenApiContact({
  1. String? name,
  2. String? email,
})

Creates a contact object for OpenAPI documentation.

Parameters:

  • name The name of the contact person (optional).
  • email The email address of the contact person (optional).

Implementation

const OpenApiContact({
  this.name,
  this.email,
});