toJson method

Map<String, dynamic> toJson()

Converts to JSON.

Implementation

Map<String, dynamic> toJson() => {
  if (functionDeclarations != null)
    'functionDeclarations': functionDeclarations!
        .map((e) => e.toJson())
        .toList(),
};