Contact constructor

const Contact({
  1. @JsonKey.new(includeIfNull: false) String? name,
  2. @JsonKey.new(includeIfNull: false) String? url,
  3. @JsonKey.new(includeIfNull: false) String? email,
})

Creates a Contact object.

Implementation

const factory Contact({
  /// The name of the contact person or organization.
  @JsonKey(includeIfNull: false) String? name,

  /// The URL pointing to the contact information.
  @JsonKey(includeIfNull: false) String? url,

  /// The email address of the contact person or organization.
  @JsonKey(includeIfNull: false) String? email,
}) = _Contact;