License constructor

  1. @JsonSerializable.new(includeIfNull: false)
const License({
  1. required String name,
  2. String? url,
})

Creates a License object.

Implementation

@JsonSerializable(includeIfNull: false)
const factory License({
  /// The name of the license.
  required String name,

  /// A URL to the license information.
  String? url,
}) = _License;