toMap method

Map<String, String> toMap()

Converts external documentation details into a map.

Returns a map with URL and description in OpenAPI format.

Implementation

Map<String, String> toMap() => {'url': url, 'description': description};