getJson method

Map<String, dynamic> getJson()

Implementation

Map<String, dynamic> getJson() => {
      'enchantment': enchantment,
      'levels': levels.getJson(),
    };