getJson method

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

Implementation

@override
Map<String, dynamic> getJson() => {
      'condition': 'minecraft:alternative',
      'terms': terms.map((t) => t.getJson()).toList(),
    };