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