factory Link.fromJson(Map<String, dynamic> json) { return new Link(json['href'] as String, json['templated'] as bool); }