core.Map<core.String, core.dynamic> toJson() => { if (rawIndices != null) 'rawIndices': rawIndices!, if (riceIndices != null) 'riceIndices': riceIndices!, };