getJson method
Implementation
@override
Map<String, dynamic> getJson() {
var ret = <String, dynamic>{
'condition': 'minecraft:time_check',
};
if (value != null) ret['value'] = value!.getJson();
if (period != null) ret['period'] = period;
return ret;
}