Metadata constructor

Metadata({
  1. String? name,
  2. String? desc,
  3. Person? author,
  4. Copyright? copyright,
  5. List<Link>? links,
  6. DateTime? time,
  7. String? keywords,
  8. Bounds? bounds,
  9. Map<String, String>? extensions,
})

Construct a new Metadata object.

Implementation

Metadata(
    {this.name,
    this.desc,
    this.author,
    this.copyright,
    List<Link>? links,
    this.time,
    this.keywords,
    this.bounds,
    Map<String, String>? extensions})
    : links = links ?? [],
      extensions = extensions ?? <String, String>{};