toJson method

Map<String, dynamic> toJson()

Creates Map from Class Object

Implementation

Map<String, dynamic> toJson() => {
      'name': name,
      'modifier': modifier.kind,
      'type': StorageEntryTypeV10.toJson(type),
      'fallback': fallback.toList(growable: false),
      'docs': docs,
    };