asMap method

Map<String, dynamic> asMap()

Returns the current instance as a Map.

Implementation

Map<String, dynamic> asMap() => <String, dynamic>{
  'link': link.toString(),
  'metadata': metadata,
};