toJson method

Map<String, dynamic> toJson()

Creates Map from Class Object

Implementation

Map<String, dynamic> toJson() => {
      'name': name,
      'args': args
          .map((FunctionArgumentMetadataV9 value) => value.toJson())
          .toList(growable: false),
      'docs': docs,
    };