toJson method

Map<String, dynamic> toJson()

Converts this global function info to a JSON-serializable map.

Implementation

Map<String, dynamic> toJson() => {
  'name': name,
  'libraryUri': libraryUri,
  if (signature != null) 'signature': signature,
};