Link constructor
Link({})
Implementation
Link(
{this.id,
required this.href,
this.templated = false,
this.type,
this.title,
this.rels = const {},
properties,
this.height,
this.width,
this.bitrate,
this.duration,
this.languages = const [],
this.alternates = const [],
this.children = const []})
: properties = properties ?? Properties() {
List<String> parts = href.split('#');
_hrefPart = parts[0];
_elementId = (parts.length > 1) ? parts[1] : null;
}