toJson method

Map<String, dynamic> toJson()

Creates Map from Class Object

Implementation

Map<String, dynamic> toJson() => {
      'path': path,
      'params': params
          .map((Si1TypeParameter value) => value.toJson())
          .toList(growable: false),
      'def': Si1TypeDef.toJson(def),
      'docs': docs,
    };