Returns the current instance as a Map.
Map<String, dynamic> asMap() => <String, dynamic>{ 'link': link.toString(), 'metadata': metadata, };