getJson method

  1. @override
Map<String, dynamic> getJson()
override

Implementation

@override
Map<String, dynamic> getJson() => {
      'condition': 'minecraft:table_bonus',
      'enchantments': enchantments.map((e) => e.getJson()).toList(),
    };